eslint-plugin-methodology-feature-sliced-design
v0.0.3
Published
Custom eslint plugin to follow FSD (Feature Sliced Design) frontend architecture rules.
Downloads
7
Maintainers
Readme
eslint-plugin-methodology-feature-sliced-design
Custom eslint plugin to follow FSD (Feature Sliced Design) frontend architecture rules. FSD Architecture documentation
Installation
You'll first need to install ESLint:
npm i -D eslint
Next, install eslint-plugin-methodology-feature-sliced-design
:
npm i -D eslint-plugin-methodology-feature-sliced-design
Usage
Add methodology-feature-sliced-design
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": [
"methodology-feature-sliced-design"
]
}
Then configure the rules you want to use under the rules section.
{
"rules": {
"methodology-feature-sliced-design/rule-name": 2
}
}
Rules
TODO: Run eslint-doc-generator to generate the rules list.