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

npm version install size publish size

This package provides gjv's React .eslintrc as an extensible shared config.

Inspired by Airbnb's Javascript Styleguide

Usage

Our default export contains all of our ESLint rules, including ECMAScript 6+.

  1. Install the correct versions of each peer dependency, which are listed by the command:
npm info "@gjv/eslint-config-react" peerDependencies

If using npm 5+, use this shortcut

npx install-peerdeps --dev @gjv/eslint-config-react
  1. Add "extends": "@gjv/eslint-config-react" to your .eslintrc.