0.0.14 • Published 2 years ago
eslint-plugin-fsd-path-checker-by-dandoniev v0.0.14
eslint-plugin-fsd-path-checker
Plugin is intended to validate import paths for project using FSD methodology
Installation
You'll first need to install ESLint:
npm i eslint --save-devNext, install eslint-plugin-fsd-path-checker:
npm install eslint-plugin-fsd-path-checker --save-devUsage
Add fsd-path-checker to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:
{
"plugins": [
"fsd-path-checker"
]
}Then configure the rules you want to use under the rules section.
{
"rules": {
"fsd-path-checker/rule-name": 2
}
}Rules
TODO: Run eslint-doc-generator to generate the rules list.