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