Skip to content

Commit 57f7dcc

Browse files
authored
Use compatible eslint-config-react-app and eslint-plugin-react-hooks. (#890)
This solves the following warning on yarn install: `eslint-config-react-app@5.0.2" has incorrect peer dependency "eslint-plugin-react-hooks@1.x".` `eslint-config-react-app@5.2.1` has widened its peerDep range to include `eslint-plugin-react-hooks@2`: https://github.com/facebook/create-react-app/blob/d2f813f8897ffcd2f0b0d2da75d0c44924c92f4d/packages/eslint-config-react-app/package.json#L26
1 parent 9cfa396 commit 57f7dcc

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868
"enquirer": "^2.3.4",
6969
"eslint": "^6.1.0",
7070
"eslint-config-prettier": "^6.0.0",
71-
"eslint-config-react-app": "^5.0.2",
71+
"eslint-config-react-app": "^5.2.1",
7272
"eslint-plugin-flowtype": "^3.13.0",
7373
"eslint-plugin-import": "^2.18.2",
7474
"eslint-plugin-jsx-a11y": "^6.2.3",

yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3121,10 +3121,10 @@ eslint-config-prettier@^6.0.0:
31213121
dependencies:
31223122
get-stdin "^6.0.0"
31233123

3124-
eslint-config-react-app@^5.0.2:
3125-
version "5.0.2"
3126-
resolved "https://registry.yarnpkg.com/eslint-config-react-app/-/eslint-config-react-app-5.0.2.tgz#df40d73a1402986030680c040bbee520db5a32a4"
3127-
integrity sha512-VhlESAQM83uULJ9jsvcKxx2Ab0yrmjUt8kDz5DyhTQufqWE0ssAnejlWri5LXv25xoXfdqOyeDPdfJS9dXKagQ==
3124+
eslint-config-react-app@^5.2.1:
3125+
version "5.2.1"
3126+
resolved "https://registry.yarnpkg.com/eslint-config-react-app/-/eslint-config-react-app-5.2.1.tgz#698bf7aeee27f0cea0139eaef261c7bf7dd623df"
3127+
integrity sha512-pGIZ8t0mFLcV+6ZirRgYK6RVqUIKRIi9MmgzUEmrIknsn3AdO0I32asO86dJgloHq+9ZPl8UIg8mYrvgP5u2wQ==
31283128
dependencies:
31293129
confusing-browser-globals "^1.0.9"
31303130

0 commit comments

Comments
 (0)