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