eslint-plugin-check-imports-plugin
v0.0.13
Published
check imports for FSD
Downloads
4
Maintainers
Readme
eslint-plugin-check-imports-plugin
check imports for FSD
Installation
You'll first need to install ESLint:
npm i eslint --save-dev
Next, install eslint-plugin-check-imports-plugin
:
npm install eslint-plugin-check-imports-plugin --save-dev
Usage
Add check-imports-plugin
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": [
"check-imports-plugin"
]
}
Then configure the rules you want to use under the rules section.
{
"rules": {
"check-imports-plugin/rule-name": 2
}
}
Rules
TODO: Run eslint-doc-generator to generate the rules list.