eslint-plugin-eslint-check-relative-path
v0.0.10
Published
plugin for checking correct imports base on fsd architecrure
Downloads
6
Maintainers
Readme
eslint-plugin-eslint-check-relative-path
plugin for checking correct imports base on fsd architecrure
Installation
You'll first need to install ESLint:
npm i eslint --save-dev
Next, install eslint-plugin-eslint-check-relative-path
:
npm install eslint-plugin-eslint-check-relative-path --save-dev
Usage
Add eslint-check-relative-path
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": [
"eslint-check-relative-path"
]
}
Then configure the rules you want to use under the rules section.
{
"rules": {
"eslint-check-relative-path/rule-name": 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.