eslint-plugin-kihakiha-plugin
v0.2.0
Published
Eslint Plugin that helps with absolute and relative imports and checks if they are used correctly
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-devNext, install eslint-plugin-kihakiha-plugin:
npm install eslint-plugin-kihakiha-plugin --save-devUsage
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.
