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