eslint-plugin-custom-fsd-checker-plugin
v1.1.2
Published
Check FSD architecture
Downloads
28
Maintainers
Readme
eslint-plugin-custom-fsd-checker-plugin
Check FSD architecture
Installation
You'll first need to install ESLint:
npm i eslint --save-dev
Next, install eslint-plugin-custom-fsd-checker-plugin
:
npm install eslint-plugin-custom-fsd-checker-plugin --save-dev
Usage
Add custom-fsd-checker-plugin
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": [
"custom-fsd-checker-plugin"
]
}
Then configure the rules you want to use under the rules section.
{
"rules": {
"custom-fsd-checker-plugin/rule-name": 2
}
}
Rules
TODO: Run eslint-doc-generator to generate the rules list.