plugin for frontend training
You'll first need to install ESLint:
npm i eslint --save-dev
Next, install eslint-plugin-owldelaide-plugin
:
npm install eslint-plugin-owldelaide-plugin --save-dev
Add owldelaide-plugin
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": [
"owldelaide-plugin"
]
}
Then configure the rules you want to use under the rules section.
{
"rules": {
"owldelaide-plugin/rule-name": 2
}
}
TODO: Run eslint-doc-generator to generate the rules list.