eslint-plugin-fsd-arch-validator
v0.0.9
Published
Validate whether module imports within your project meet the requirements of FSD architecture
Downloads
194
Maintainers
Readme
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-dev
Next, install eslint-plugin-fsd-arch-validator
:
npm install eslint-plugin-fsd-arch-validator --save-dev
Usage
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.