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
5.0.0-canary-7118f5dd7-20230705 includes a new lint error for hook calls
inside an async component, 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 committed Jul 5, 2023
1 parent 5046ee1 commit dc4e2f5
Show file tree
Hide file tree
Showing 2 changed files with 109 additions and 113 deletions.
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
Loading

0 comments on commit dc4e2f5

Please sign in to comment.