Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Meta
create-react-app
Commits
9fe8f6b4
Commit
9fe8f6b4
authored
6 years ago
by
Ludovico Fischer
Committed by
Andreas Cederström
6 years ago
Browse files
Options
Download
Email Patches
Plain Diff
Fix eslint config docs. (#5416)
Update peer dependency versions in README.
parent
5fecfee2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
packages/eslint-config-react-app/README.md
+1
-1
packages/eslint-config-react-app/README.md
with
1 addition
and
1 deletion
+1
-1
packages/eslint-config-react-app/README.md
+
1
-
1
View file @
9fe8f6b4
...
...
@@ -19,7 +19,7 @@ If you want to use this ESLint configuration in a project not built with Create
First, install this package, ESLint and the necessary plugins.
```
sh
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
npm
install
--save-dev
eslint-config-react-app babel-eslint@
9.x
eslint@
5.x
eslint-plugin-flowtype@2.
x
eslint-plugin-import@2.
x
eslint-plugin-jsx-a11y@
6.x
eslint-plugin-react@7.
x
```
Then create a file named
`.eslintrc`
with following contents in the root folder of your project:
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment