eslint-plugin-feature-sliced-design-validator
v0.0.10
Published
Plugin that determines the correctness of imports in a project with the Feature-Sliced design methodology
Downloads
7
Maintainers
Readme
eslint-plugin-fsd-path-checker-plugin
Plugin that determines the correctness of imports in a project with the Feature-Sliced design methodology
Installation
You'll first need to install ESLint:
npm i eslint --save-dev
Next, install eslint-plugin-fsd-path-checker-plugin
:
npm install eslint-plugin-fsd-path-checker-plugin --save-dev
Usage
Add fsd-path-checker-plugin
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": [
"fsd-path-checker-plugin"
]
}
Then configure the rules you want to use under the rules section.
{
"rules": {
"fsd-path-checker-plugin/rule-name": 2
}
}
Rules
TODO: Run eslint-doc-generator to generate the rules list.