1.0.0 • Published 4 years ago
@jeansarlon/eslint-config-react v1.0.0
eslint-config-react
This package provides react .eslintrc
as an extensible shared config.
Usage
Our default export contains all of our ESLint rules, including ECMAScript 6+. It requires:
eslint
eslint-plugin-jsx-a11y
eslint-plugin-react
Install the correct versions of each package, which are listed by the command:
npm info "@jeansarlon/eslint-config-react@latest" peerDependencies
Which produces and runs a command like:
npm install --save-dev @jeansarlon/eslint-config-react eslint@^ #.#.# eslint-plugin-jsx-a11y@^#.#.# eslint-plugin-chai-react@^#.#.#
Add
"extends": "@jeansarlon/eslint-config-react"
to your project's.eslintrc
.
1.0.0
4 years ago