eslint plugin for utils
You'll first need to install ESLint:
npm i eslint --save-devNext, install eslint-plugin-utils:
npm install eslint-plugin-utils --save-devAdd utils to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:
{
"plugins": [
"utils"
]
}Then configure the rules you want to use under the rules section.
{
"rules": {
"utils/rule-name": 2
}
}- Fill in provided rules here