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