0.0.2 • Published 2 years ago
eslint-plugin-fsd-check-path v0.0.2
eslint-plugin-fsd-check-path
Plugin for production project based on Feature-Sliced Design (FSD) architectural methodology.
Installation
You'll first need to install ESLint:
npm i eslint --save-dev
Next, install eslint-plugin-fsd-check-path
:
npm install eslint-plugin-fsd-check-path --save-dev
Usage
Add fsd-check-path
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": [
"fsd-check-path"
]
}
Then configure the rules you want to use under the rules section.
{
"rules": {
"fsd-check-path/rule-name": 2
}
}
Rules
TODO: Run eslint-doc-generator to generate the rules list.