eslint-config-react
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+.
- 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
- Add
"extends": "@gjv/eslint-config-react"
to your .eslintrc.