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