Skip to content

jaaberg/eslint-plugin-seeact

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

eslint-plugin-seeact

SEE a problem, ACT upon it. This plugin currently have one rule: catching the use of this.state inside this.setState.

Installation

You'll first need to install ESLint:

$ npm i eslint --save-dev

Next, install eslint-plugin-seeact:

$ npm install eslint-plugin-seeact --save-dev

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

Usage

Add seeact to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:

{
    "plugins": [
        "seeact"
    ]
}

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

{
    "rules": {
        "seeact/rule-name": 2
    }
}

Supported Rules

License

ESLint-plugin-seeact is licensed under the MIT License.

About

SEE a problem, ACT upon it. A ESLint plugin.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published