0.0.3 • Published 2 years ago
eslint-plugin-methodology-feature-sliced-design v0.0.3
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 eslintNext, install eslint-plugin-methodology-feature-sliced-design:
npm i -D eslint-plugin-methodology-feature-sliced-designUsage
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.