1.0.0 • Published 6 years ago
@vkontakte/eslint-plugin-no-invalid-this-except v1.0.0
eslint-plugin-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-no-invalid-this-except:
$ npm install eslint-plugin-no-invalid-this-except --save-devNote: If you installed ESLint globally (using the -g flag) then you must also install eslint-plugin-no-invalid-this-except globally.
Usage
Add eslint-plugin-no-invalid-this-except to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:
{
    "plugins": [
        "eslint-plugin-no-invalid-this-except"
    ]
}Then configure the rules you want to use under the rules section.
{
    "rules": {
        "eslint-plugin-no-invalid-this-except/rule-name": 2
    }
}Supported Rules
- Fill in provided rules here
1.0.0
6 years ago