eslint-plugin-plugin-path-checker-fsd-r
v0.0.10
Published
Plugin for checking the correctness of FSD paths and imports
Maintainers
Readme
eslint-plugin-plugin-path-checker-fsd-r
Plugin for checking the correctness of FSD paths and imports
Installation
You'll first need to install ESLint:
npm i eslint --save-devNext, install eslint-plugin-plugin-path-checker-fsd-r:
npm install eslint-plugin-plugin-path-checker-fsd-r --save-devUsage
In your configuration file, import the plugin eslint-plugin-plugin-path-checker-fsd-r and add plugin-path-checker-fsd-r to the plugins key:
import plugin-path-checker-fsd-r from "eslint-plugin-plugin-path-checker-fsd-r";
export default [
{
plugins: {
plugin-path-checker-fsd-r
}
}
];Then configure the rules you want to use under the rules key.
import plugin-path-checker-fsd-r from "eslint-plugin-plugin-path-checker-fsd-r";
export default [
{
plugins: {
plugin-path-checker-fsd-r
},
rules: {
"plugin-path-checker-fsd-r/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.
