Skip to content

Commit b17fa41

Browse files
jdcrenshTimer
authored andcommitted
Update eslint-config npm install command (#3072)
The `npm install` script for outside usage instructions is outdated. Updated to match the package's current peer dependencies.
1 parent e8b58ed commit b17fa41

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/eslint-config-react-app/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ If you want to use this ESLint configuration in a project not built with Create
1919
First, install this package, ESLint and the necessary plugins.
2020

2121
```sh
22-
npm install --save-dev eslint-config-react-app [email protected] eslint@3.19.0 eslint-plugin-flowtype@2.33.0 eslint-plugin-import@2.2.0 eslint-plugin-jsx-a11y@5.0.1 eslint-plugin-react@7.0.1
22+
npm install --save-dev eslint-config-react-app babel-eslint@^7.2.3 eslint@^4.1.1 eslint-plugin-flowtype@^2.34.1 eslint-plugin-import@^2.6.0 eslint-plugin-jsx-a11y@^5.1.1 eslint-plugin-react@^7.1.0
2323
```
2424

2525
Then create a file named `.eslintrc` with following contents in the root folder of your project:

0 commit comments

Comments
 (0)