a learning project
npm install
npm run bundle
Add eslint-learn
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": [
"eslint-learn"
]
}
Then configure the rules you want to use under the rules section.
{
"rules": {
"eslint-learn/subscribe": "error"
}
}
npm run coverage
TODO: Run eslint-doc-generator to generate the rules list.
npm install -g yo generator-eslint
yo eslint:plugin
yo eslint:rule