eslint-plugin-kevin-trigger-plugin
v0.1.0
Published
FSD valid imports: absolute and relative.
Downloads
746
Maintainers
Readme
eslint-plugin-kevin-trigger-plugin
FSD valid imports: absolute and relative.
Installation
You'll first need to install ESLint:
npm i eslint --save-dev
Next, install eslint-plugin-kevin-trigger-plugin
:
npm install eslint-plugin-kevin-trigger-plugin --save-dev
Usage
In your configuration file, import the plugin eslint-plugin-kevin-trigger-plugin
and add kevin-trigger-plugin
to the plugins
key:
import kevin-trigger-plugin from "eslint-plugin-kevin-trigger-plugin";
export default [
{
plugins: {
kevin-trigger-plugin
}
}
];
Then configure the rules you want to use under the rules
key.
import kevin-trigger-plugin from "eslint-plugin-kevin-trigger-plugin";
export default [
{
plugins: {
kevin-trigger-plugin
},
rules: {
"kevin-trigger-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.