eslint-plugin-feature-slice-design-path-checker
v0.0.5
Published
plugin for check relative and absolute paths in slices
Downloads
1
Maintainers
Readme
eslint-plugin-feature-slice-design-path-checker
plugin for check relative and absolute paths in slices
Installation
You'll first need to install ESLint:
npm i eslint --save-dev
Next, install eslint-plugin-feature-slice-design-path-checker
:
npm install eslint-plugin-feature-slice-design-path-checker --save-dev
Usage
Add fsd-path-checker
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": [
"feature-slice-design-path-checker"
]
}
Then configure the rules you want to use under the rules section.
{
"rules": {
"feature-slice-design-path-checker/rule-name": 2
}
}
Rules
TODO: Run eslint-doc-generator to generate the rules list.