eslint-plugin-alex16541-fsd-imports-path-checker
v0.5.4
Published
esling plugin to check imports path according to the FSD rules
Downloads
30
Maintainers
Readme
eslint-plugin-fsd-path
esling plugin to check imports path according to the FSD rules
Installation
You'll first need to install ESLint:
npm i eslint --save-dev
Next, install eslint-plugin-alex16541-fsd-imports-path-checker
:
npm install eslint-plugin-alex16541-fsd-imports-path-checker --save-dev
Usage
Add alex16541-fsd-imports-path-checker
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": [
"alex16541-fsd-imports-path-checker"
]
}
Then configure the rules you want to use under the rules section.
{
"rules": {
"alex16541-fsd-imports-path-checker/relative-path-checker": 2
}
}
Configurations
TODO: Run eslint-doc-generator to generate the configs list (or delete this section if no configs are offered).
Rules
TODO: Run eslint-doc-generator to generate the rules list.