4.1.0 • Published 6 months ago

eslint-plugin-react-redux v4.1.0

Weekly downloads
21,940
License
ISC
Repository
github
Last release
6 months ago

eslint-plugin-react-redux

Enforcing best practices for react-redux

Installation

You'll first need to install ESLint:

$ npm i eslint --save-dev

Next, install eslint-plugin-react-redux:

$ npm install eslint-plugin-react-redux --save-dev

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

Usage

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

{
    "plugins": [
        "react-redux"
    ],
    "extends": [
        "plugin:react-redux/recommended"
    ]
}

To configure individual rules:

{
    "rules": {
        "react-redux/connect-prefer-named-arguments": 2
    }
}

Supported Rules

4.1.0

6 months ago

3.3.4

2 years ago

4.0.0

2 years ago

3.3.2

3 years ago

3.3.1

3 years ago

3.3.0

4 years ago

3.2.0

4 years ago

3.1.0

4 years ago

3.0.3

4 years ago

3.0.2

5 years ago

3.0.1

5 years ago

3.0.0

5 years ago

2.3.0

6 years ago

2.2.0

6 years ago

2.1.0

6 years ago

2.0.1

6 years ago

1.4.1

6 years ago

2.0.0

6 years ago

1.4.0

6 years ago

1.3.2

6 years ago

1.3.1

6 years ago

1.3.0

6 years ago

1.2.3

6 years ago

1.2.2

6 years ago

1.2.1

6 years ago

1.2.0

6 years ago

1.1.0

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago