Skip to content

Files

Latest commit

 

History

History

react

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

@herp-inc/eslint-config-react npm

ESLint shareable config for React environments

This package is intended to be used along with @herp-inc/eslint-config and @herp-inc/eslint-config-jsx.

Installation

Note that the following packages are peer dependencies of this library, which need to be installed separately.

Package Version
eslint 8 || 9
eslint-plugin-react ^7.35.0
eslint-plugin-react-hooks ^4.6.0 || 5

Using npm

$ npm install --save-dev @herp-inc/eslint-config-react

Using yarn

$ yarn add --dev @herp-inc/eslint-config

Usage

Add @herp-inc/eslint-config-react to the extends section of your ESLint configuration.

{
  "extends": ["@herp-inc", "@herp-inc/eslint-config-react"]
}