0.0.2 • Published 3 years ago
eslint-plugin-khomch-plugin v0.0.2
eslint-plugin-khomch-plugin
plugin for FSD
Installation
You'll first need to install ESLint:
npm i eslint --save-devNext, install eslint-plugin-khomch-plugin:
npm install eslint-plugin-khomch-plugin --save-devUsage
Add khomch-plugin to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:
{
"plugins": [
"khomch-plugin"
]
}Then configure the rules you want to use under the rules section.
{
"rules": {
"khomch-plugin/rule-name": 2
}
}Rules
TODO: Run eslint-doc-generator to generate the rules list.