Skip to content

Commit

Permalink
Update eslint-plugin-react-hooks to 5.0.0-canary-7118f5dd7-20230705 (#…
Browse files Browse the repository at this point in the history
…52268)

5.0.0-canary-7118f5dd7-20230705 includes a new [lint error for hook calls inside an async component](facebook/react@7118f5d), a common mistake when refactoring Server Components to Client Components, or vice versa.

This updates the dependency in eslint-config-next.
  • Loading branch information
acdlite authored and shuding committed Jul 8, 2023
1 parent f205d00 commit 4e77bf2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/eslint-config-next/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jsx-a11y": "^6.5.1",
"eslint-plugin-react": "^7.31.7",
"eslint-plugin-react-hooks": "^4.5.0"
"eslint-plugin-react-hooks": "5.0.0-canary-7118f5dd7-20230705"
},
"peerDependencies": {
"eslint": "^7.23.0 || ^8.0.0",
Expand Down

0 comments on commit 4e77bf2

Please sign in to comment.