eslint-plugin-path-ch-plg
v0.0.8
Published
rule of absolute and relative imports
Downloads
6
Maintainers
Readme
eslint-plugin-path-check-plugin
rule of absolutle and relative imports
Installation
You'll first need to install ESLint:
npm i eslint --save-dev
Next, install eslint-plugin-path-check-plugin
:
npm install eslint-plugin-path-check-plugin --save-dev
Usage
Add path-check-plugin
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": [
"path-check-plugin"
]
}
Then configure the rules you want to use under the rules section.
{
"rules": {
"path-check-plugin/rule-name": 2
}
}
Configurations
TODO: Run eslint-doc-generator to generate the configs list (or delete this section if no configs are offered).
Rules
TODO: Run eslint-doc-generator to generate the rules list.