A small plugin to enforce some good practices
You'll first need to install ESLint:
$ npm i eslint --save-dev
Next, install eslint-plugin-comment-box-plugin:
$ npm install eslint-plugin-comment-box-plugin --save-dev
Add comment-box-plugin to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:
{
"plugins": ["comment-box-plugin"]
}Then configure the rules you want to use under the rules section.
{
"rules": {
"comment-box-plugin/rule-name": 2
}
}- Fill in provided rules here