0.0.8 • Published 3 years 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-devNext, install eslint-plugin-fsd-checker:
npm install eslint-plugin-fsd-checker --save-devyarn -D add eslint-plugin-fsd-checkerUsage
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.