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