Skip to content

vunguyentuan/eslint-plugin-react-perf

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

eslint-plugin-react-perf

Performance-minded React linting rules for ESLint

Installation

$ npm i eslint-plugin-react-perf

Configuration

Add plugins section and specify eslint-plugin-react-perf as a plugin.

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

List of supported rules

Recommended

This plugin exports a recommended configuration that enforce React good practices.

To enable this configuration use the extends property in your .eslintrc config file:

{
  "extends": ["plugin:react-perf/recommended"]
}

See ESLint documentation for more information about extending configuration files.

The rules enabled in this configuration are:

All

This plugin also exports an all configuration that includes every available rule.

{
  "plugins": [
    "react-perf"
  ],
  "extends": ["plugin:react-perf/all"]
}

License

eslint-plugin-react-perf is licensed under the MIT License.

About

Performance-minded React linting rules for ESLint

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%