We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 3a1024f + ccebc10 commit 2324830Copy full SHA for 2324830
.eslintrc.js
@@ -1,7 +1,10 @@
1
require("@rushstack/eslint-patch/modern-module-resolution");
2
3
module.exports = {
4
- extends: ["plugin:react/recommended", "plugin:react-hooks/recommended"],
+ extends: [
5
+ "plugin:react/recommended",
6
+ "plugin:react-hooks/recommended-legacy",
7
+ ],
8
settings: {
9
react: {
10
version: "detect",
package.json
@@ -22,7 +22,7 @@
22
"@rushstack/eslint-patch": "^1.1.4",
23
"eslint": "^8.19.0",
24
"eslint-plugin-react": "^7.30.1",
25
- "eslint-plugin-react-hooks": "^5.0.0"
+ "eslint-plugin-react-hooks": "^6.0.0"
26
},
27
"devDependencies": {
28
"prettier": "^3.0.0",
0 commit comments