Skip to content

Latest commit

 

History

History

eslint-config-react

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

Eslint Config React

eslint shareable config to help you identify and report on patterns found in your code in React applications.

Plugins

This configuration uses the following plugins:

  • @linters/eslint-config
  • eslint-plugin-react
  • eslint-plugin-react-hooks

Install

$ yarn add eslint @linters/eslint-config-react -D

Usage

The shareable config can be configured in the eslint configuration file:

Create a .eslintrc.js file with the following contents:

module.exports = {
  extends: ['@linters/eslint-config-react'],
}