eslint-plugin-custom-rules
Installation
You'll first need to install ESLint:
$ npm i eslint --save-devNext, install eslint-plugin-custom-rules:
$ npm install eslint-plugin-custom-rules --save-devNote: If you installed ESLint globally (using the -g flag) then you must also install eslint-plugin-custom-rules globally.
Usage
Add custom-rules to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:
{
"plugins": [
"custom-rules"
]
}