1.0.0 • Published 5 years ago
eslint-plugin-custom-javascript-rule v1.0.0
eslint-plugin-0002
custome styleguide plugin
Enforce filter(Boolean)
instead filter(x => x)
use () => {}
instead _.partial
Installation
You'll first need to install ESLint:
$ npm i eslint --save-dev
Next, install eslint-plugin-0002
:
$ npm install eslint-plugin-0002 --save-dev
Note: If you installed ESLint globally (using the -g
flag) then you must also install eslint-plugin-0002
globally.
Usage
Add 0002
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": [
"0002"
]
}
Then configure the rules you want to use under the rules section.
{
"rules": {
"0002/rule-name": 2
}
}
Supported Rules
- Fill in provided rules here
1.0.0
5 years ago