leon custom rule
You'll first need to install ESLint:
$ npm i eslint --save-dev
Next, install eslint-plugin-leon-rule
:
$ npm install eslint-plugin-leon-rule --save-dev
{
"extends": [
"plugin:leon-rule/recommended"
]
}
Then configure the rules you want to use under the rules section.
{
"rules": {
"leon-rule/rule-name": 2
}
}
- Fill in provided rules here