eslint-plugin-swq
v0.2.0
Published
Test plugin
Maintainers
Readme
eslint-plugin-swq
Test plugin
Installation
You'll first need to install ESLint:
npm i eslint --save-devNext, install eslint-plugin-swq:
npm install eslint-plugin-swq --save-devUsage
In your configuration file, import the plugin eslint-plugin-swq and add swq to the plugins key:
import swq from "eslint-plugin-swq";
export default [
{
plugins: {
swq
}
}
];Then configure the rules you want to use under the rules key.
import swq from "eslint-plugin-swq";
export default [
{
plugins: {
swq
},
rules: {
"swq/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.
