0.0.9 • Published 2 years ago
eslint-plugin-fsd-arch-validator v0.0.9
eslint-plugin-fsd-arch-validator
Validate whether module imports within your project meet the requirements of FSD architecture
Installation
You'll first need to install ESLint:
npm i eslint --save-devNext, install eslint-plugin-fsd-arch-validator:
npm install eslint-plugin-fsd-arch-validator --save-devUsage
Add fsd-arch-validator to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:
{
"plugins": [
"fsd-arch-validator"
]
}Then configure the rules you want to use under the rules section.
{
"rules": {
"fsd-arch-validator/rule-name": 2
}
}Rules
TODO: Run eslint-doc-generator to generate the rules list.