0.0.8 • Published 1 year ago
eslint-plugin-eslint-correct-paths-plugin v0.0.8
eslint-plugin-eslint-correct-paths-plugin
eslint plugin to correct import paths
Installation
You'll first need to install ESLint:
npm i eslint --save-dev
Next, install eslint-plugin-eslint-correct-paths-plugin
:
npm install eslint-plugin-eslint-correct-paths-plugin --save-dev
Usage
Add eslint-correct-paths-plugin
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": [
"eslint-correct-paths-plugin"
]
}
Then configure the rules you want to use under the rules section.
{
"rules": {
"eslint-correct-paths-plugin/rule-name": 2
}
}
Rules
TODO: Run eslint-doc-generator to generate the rules list.