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