0.0.14 • Published 12 months ago

eslint-plugin-fsd-architecture v0.0.14

Weekly downloads
-
License
ISC
Repository
github
Last release
12 months ago

eslint-plugin-fsd-architecture

ESlint plugin to comply with FSD (Feature Sliced Design) frontend architecture rules. FSD Architecture documentation

Installation

You'll first need to install ESLint:

npm i eslint --save-dev

Next, install eslint-plugin-fsd-architecture:

npm install eslint-plugin-fsd-architecture --save-dev

Usage

Add fsd-architecture to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:

{
    "plugins": [
        "fsd-architecture"
    ]
}

Then configure the rules you want to use under the rules section.

{
    "rules": {
        "fsd-architecture/rule-name": 2
    }
}

Rules

Name              Description
import-path-checkChecking imports against FSD architecture rules
layer-importsRule for check imports from layers structure of FSD architecture
public-api-importsFSD Architecture rule for public api imports
0.0.11

1 year ago

0.0.12

1 year ago

0.0.13

1 year ago

0.0.14

12 months ago

0.0.1

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.8

1 year ago

0.0.5

1 year ago

0.0.4

1 year ago

0.0.7

1 year ago

0.0.6

1 year ago

0.0.0

1 year ago