eslint-plugin-imports-checker
v0.0.11
Published
Check whether you use absolute or relative imports with FSD
Downloads
37
Maintainers
Readme
eslint-plugin-imports-checker
Check whether you use absolute or relative imports with FSD
Installation
You'll first need to install ESLint:
npm i eslint --save-devNext, install eslint-plugin-imports-checker:
npm install eslint-plugin-imports-checker --save-devUsage
In your configuration file, import the plugin eslint-plugin-imports-checker and add imports-checker to the plugins key:
import imports-checker from "eslint-plugin-imports-checker";
export default [
{
plugins: {
imports-checker
}
}
];Then configure the rules you want to use under the rules key.
import imports-checker from "eslint-plugin-imports-checker";
export default [
{
plugins: {
imports-checker
},
rules: {
"imports-checker/rule-name": "warn"
}
}
];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.
