1.0.4 • Published 11 months ago
@zohodesk/eslint-plugin-react-performance v1.0.4
eslint-plugin-react-performance
To improve performance in react redux applications
Installation
You'll first need to install ESLint:
$ npm i eslint --save-devNext, install eslint-plugin-react-performance:
$ npm install eslint-plugin-react-performance --save-devNote: 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