0.0.9 • Published 1 year ago

eslint-plugin-fsd-arch-validator v0.0.9

Weekly downloads
-
License
ISC
Repository
-
Last release
1 year ago

eslint-plugin-fsd-arch-validator

Validate whether module imports within your project meet the requirements of FSD architecture

Installation

You'll first need to install ESLint:

npm i eslint --save-dev

Next, install eslint-plugin-fsd-arch-validator:

npm install eslint-plugin-fsd-arch-validator --save-dev

Usage

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

{
    "plugins": [
        "fsd-arch-validator"
    ]
}

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

{
    "rules": {
        "fsd-arch-validator/rule-name": 2
    }
}

Rules

TODO: Run eslint-doc-generator to generate the rules list.

0.0.3

2 years ago

0.0.9

1 year ago

0.0.8

1 year ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago

0.0.0

2 years ago