plugin for production project
You'll first need to install ESLint:
npm i eslint --save-dev
Next, install eslint-plugin-ulbi-tv-plugin
:
npm install eslint-plugin-ulbi-tv-plugin --save-dev
In your configuration file, import the plugin eslint-plugin-ulbi-tv-plugin
and add ulbi-tv-plugin
to the plugins
key:
import ulbi-tv-plugin from "eslint-plugin-ulbi-tv-plugin";
export default [
{
plugins: {
ulbi-tv-plugin
}
}
];
Then configure the rules you want to use under the rules
key.
import ulbi-tv-plugin from "eslint-plugin-ulbi-tv-plugin";
export default [
{
plugins: {
ulbi-tv-plugin
},
rules: {
"ulbi-tv-plugin/rule-name": "warn"
}
}
];
TODO: Run eslint-doc-generator to generate the configs list (or delete this section if no configs are offered).
TODO: Run eslint-doc-generator to generate the rules list.