eslint-plugin-feature-sliced-imports
v0.8.0
Published
Плагин следит за импортами
Downloads
6
Maintainers
Readme
eslint-plugin-fsd-imports
Плагин следит за импортами
Installation
You'll first need to install ESLint:
npm i eslint --save-dev
Next, install eslint-plugin-fsd-imports
:
npm install eslint-plugin-fsd-imports --save-dev
Usage
Add fsd-imports
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": [
"fsd-imports"
]
}
Then configure the rules you want to use under the rules section.
{
"rules": {
"fsd-imports/rule-name": 2
}
}
Rules
TODO: Run eslint-doc-generator to generate the rules list.