0.0.8 • Published 1 year ago
eslint-plugin-fsd-checker v0.0.8
eslint-plugin-fsd-checker
plugin to use FSD for production project
Installation
You'll first need to install ESLint:
npm i eslint --save-dev
Next, install eslint-plugin-fsd-checker
:
npm install eslint-plugin-fsd-checker --save-dev
yarn -D add eslint-plugin-fsd-checker
Usage
Add fsd-checker
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": [
"fsd-checker"
]
}
Then configure the rules you want to use under the rules section.
{
"rules": {
"fsd-checker/rule-name": 2
}
}
Rules
TODO: Run eslint-doc-generator to generate the rules list.