eslint-plugin-no-undef-class-this

0.0.2 • Public • Published

eslint-plugin-no-undef-class-this

A single rule, no-undef-class-this, described here.

Installation

You'll first need to install ESLint:

$ npm i eslint --save-dev

Next, install eslint-plugin-no-undef-class-this:

$ npm install eslint-plugin-no-undef-class-this --save-dev

Note: If you installed ESLint globally (using the -g flag) then you must also install eslint-plugin-no-undef-class-this globally.

Usage

Add no-undef-class-this to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:

{
    "plugins": [
        "no-undef-class-this"
    ]
}

Then configure the rules you want to use under the rules section.

{
    "rules": {
        "no-undef-class-this/no-undef-class-this": "error"
    }
}

Package Sidebar

Install

npm i eslint-plugin-no-undef-class-this

Weekly Downloads

31

Version

0.0.2

License

none

Unpacked Size

11.2 kB

Total Files

9

Last publish

Collaborators

  • langdonx