@gobvoz/eslint-plugin-fsd
v0.0.9
Published
eslint plugin for feature sliced design (FSD)
Downloads
9
Maintainers
Readme
eslint-plugin-fsd
eslint plugin
Installation
You'll first need to install ESLint:
npm i eslint --save-dev
Next, install @gobvoz/eslint-plugin-fsd
:
npm install @gobvoz/eslint-plugin-fsd --save-dev
Usage
Add @gobvoz/eslint-plugin-fsd
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": ["@gobvoz/fsd"]
}
Then configure the rules you want to use under the rules section.
{
"rules": {
"@gobvoz/fsd/rule-name": 2
}
}
Rules
TODO: Run eslint-doc-generator to generate the rules list.