Skip to content

Latest commit

 

History

History
48 lines (32 loc) · 757 Bytes

README.md

File metadata and controls

48 lines (32 loc) · 757 Bytes

eslint-plugin-fsd-checker

plugin for production

Installation

You'll first need to install ESLint:

npm i eslint --save-dev

Next, install eslint-plugin-fsd-checker:

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

Usage

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

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

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

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

Rules

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