1.0.3 • Published 4 years ago

@zohodesk/eslint-plugin-react-performance v1.0.3

Weekly downloads
279
License
ISC
Repository
-
Last release
4 years ago

eslint-plugin-react-performance

To improve performance in react redux applications

Installation

You'll first need to install ESLint:

$ npm i eslint --save-dev

Next, install eslint-plugin-react-performance:

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

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

Usage

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

{
    "plugins": [
        "react-performance"
    ]
}

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

{
    "rules": {
        "react-performance/rule-name": 2
    }
}

Supported Rules

  • Fill in provided rules here