Skip to content

Commit

Permalink
feat: allow eslint-plugin-react-hooks v5 (#343)
Browse files Browse the repository at this point in the history
This version adds support for ESLint v9 while being backwards compatible
for us so we can allow both v4 and v5 at the same time.

[changelog is
here](https://github.com/facebook/react/releases/tag/eslint-plugin-react-hooks%405.0.0)
  • Loading branch information
G-Rath authored Nov 11, 2024
1 parent 3976af4 commit 39bb9d4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@
"eslint-plugin-node": ">= 2.21",
"eslint-plugin-prettier": ">= 3.1",
"eslint-plugin-react": "^7.0.0",
"eslint-plugin-react-hooks": "^4.0.0",
"eslint-plugin-react-hooks": "^4.0.0 || ^5.0.0",
"prettier": ">= 2.0"
},
"peerDependenciesMeta": {
Expand Down

0 comments on commit 39bb9d4

Please sign in to comment.