eslint-plugin-fsd-arch-validator

0.0.9 • Public • Published

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.

Package Sidebar

Install

npm i eslint-plugin-fsd-arch-validator

Weekly Downloads

56

Version

0.0.9

License

ISC

Unpacked Size

21 kB

Total Files

16

Last publish

Collaborators

  • demetrxx