0.0.5 • Published 2 years ago
eslint-plugin-imports-checker-fsd v0.0.5
eslint-plugin-imports-checker-fsd
check imports for fsd projects
Installation
You'll first need to install ESLint:
npm i eslint --save-devNext, install eslint-plugin-imports-checker-fsd:
npm install eslint-plugin-imports-checker-fsd --save-devUsage
Add imports-checker-fsd to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:
{
    "plugins": [
        "imports-checker-fsd"
    ]
}Then configure the rules you want to use under the rules section.
{
    "rules": {
        "imports-checker-fsd/rule-name": 2
    }
}Rules
TODO: Run eslint-doc-generator to generate the rules list.