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