eslint-plugin-fsd-path-checker-keyready
v1.0.0
Published
check for relative path FSD
Downloads
4
Maintainers
Readme
eslint-plugin-fsd-path-checker
check for relative path FSD
Installation
You'll first need to install ESLint:
npm i eslint --save-dev
Next, install eslint-plugin-fsd-path-checker
:
npm install eslint-plugin-fsd-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": [
"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.