eslint-plugin-leon-rule
v0.0.4
Published
leon custom rule
Downloads
7
Maintainers
Readme
eslint-plugin-leon-rule
leon custom rule
Installation
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
Usage
Add leon-rule
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": [
"leon-rule"
]
}
Then configure the rules you want to use under the rules section.
{
"rules": {
"leon-rule/rule-name": 2
}
}
Supported Rules
- Fill in provided rules here