@wpbrothers/eslint-config
v0.0.1
Published
Eslint configuration for Social Brothers projects
Downloads
1
Maintainers
Readme
eslint-plugin-eslint
Eslint configuration for Social Brothers projects
Installation
You'll first need to install ESLint:
npm i eslint --save-dev
Next, install eslint-plugin-eslint
:
npm install eslint-plugin-eslint --save-dev
Usage
Add eslint
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": [
"eslint"
]
}
Then configure the rules you want to use under the rules section.
{
"rules": {
"eslint/rule-name": 2
}
}
Supported Rules
- Fill in provided rules here