0.0.0 • Published 9 years ago
eslint-plugin-no-invalid-this-except v0.0.0
eslint-plugin-eslint-no-invalid-this-except
The same as eslint-no-invalid-this, except checking sepcified functions
Installation
You'll first need to install ESLint:
$ npm i eslint --save-devNext, install eslint-plugin-eslint-no-invalid-this-except:
$ npm install eslint-plugin-eslint-no-invalid-this-except --save-devNote: If you installed ESLint globally (using the -g flag) then you must also install eslint-plugin-eslint-no-invalid-this-except globally.
Usage
Add eslint-no-invalid-this-except to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:
{
"plugins": [
"eslint-no-invalid-this-except"
]
}Then configure the rules you want to use under the rules section.
{
"rules": {
"eslint-no-invalid-this-except/rule-name": 2
}
}Supported Rules
- Fill in provided rules here
0.0.0
9 years ago