eslint-plugin-kihakiha-plugin
v0.2.0
Published
Eslint Plugin that helps with absolute and relative imports and checks if they are used correctly
Downloads
7
Maintainers
Readme
eslint-plugin-kihakiha-plugin
Eslint Plugin that helps with absolute and relative imports and checks if they are used correctly
Installation
You'll first need to install ESLint:
npm i eslint --save-dev
Next, install eslint-plugin-kihakiha-plugin
:
npm install eslint-plugin-kihakiha-plugin --save-dev
Usage
Add kihakiha-plugin
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": [
"kihakiha-plugin"
]
}
Then configure the rules you want to use under the rules section.
{
"rules": {
"kihakiha-plugin/rule-name": 2
}
}
Rules
TODO: Run eslint-doc-generator to generate the rules list.