0.0.5 • Published 7 months ago
eslint-plugin-xen-plugin v0.0.5
eslint-plugin-xen-plugin
plugin
Installation
You'll first need to install ESLint:
npm i eslint --save-dev
Next, install eslint-plugin-xen-plugin
:
npm install eslint-plugin-xen-plugin --save-dev
Usage
In your configuration file, import the plugin eslint-plugin-xen-plugin
and add xen-plugin
to the plugins
key:
import xen-plugin from "eslint-plugin-xen-plugin";
export default [
{
plugins: {
xen-plugin
}
}
];
Then configure the rules you want to use under the rules
key.
import xen-plugin from "eslint-plugin-xen-plugin";
export default [
{
plugins: {
xen-plugin
},
rules: {
"xen-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.