eslint-plugin-fsd-path-checker-plugin-chrisscappp
v0.0.0
Published
plugin for check absolute and relative import path
Downloads
65
Maintainers
Readme
eslint-plugin-fsd-path-checker-plugin
plugin for check absolute and relative import path
Installation
You'll first need to install ESLint:
npm i eslint --save-dev
Next, install eslint-plugin-fsd-path-checker-plugin
:
npm install eslint-plugin-fsd-path-checker-plugin --save-dev
Usage
In your configuration file, import the plugin eslint-plugin-fsd-path-checker-plugin
and add fsd-path-checker-plugin
to the plugins
key:
import fsd-path-checker-plugin from "eslint-plugin-fsd-path-checker-plugin";
export default [
{
plugins: {
fsd-path-checker-plugin
}
}
];
Then configure the rules you want to use under the rules
key.
import fsd-path-checker-plugin from "eslint-plugin-fsd-path-checker-plugin";
export default [
{
plugins: {
fsd-path-checker-plugin
},
rules: {
"fsd-path-checker-plugin/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.