We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e428bdf commit b1f5e8fCopy full SHA for b1f5e8f
index.js
@@ -232,6 +232,22 @@ export default [
232
233
'react-hooks/rules-of-hooks': 'error',
234
'react-hooks/exhaustive-deps': 'warn',
235
+ 'react-hooks/static-components': 'error',
236
+ 'react-hooks/use-memo': 'error',
237
+ 'react-hooks/void-use-memo': 'error',
238
+ 'react-hooks/component-hook-factories': 'error',
239
+ 'react-hooks/preserve-manual-memoization': 'error',
240
+ 'react-hooks/incompatible-library': 'warn',
241
+ 'react-hooks/immutability': 'error',
242
+ 'react-hooks/globals': 'error',
243
+ 'react-hooks/refs': 'error',
244
+ 'react-hooks/set-state-in-effect': 'error',
245
+ 'react-hooks/error-boundaries': 'error',
246
+ 'react-hooks/purity': 'error',
247
+ 'react-hooks/set-state-in-render': 'error',
248
+ 'react-hooks/unsupported-syntax': 'warn',
249
+ 'react-hooks/config': 'error',
250
+ 'react-hooks/gating': 'error',
251
},
252
253
];
package.json
@@ -57,13 +57,13 @@
57
"simple"
58
],
59
"dependencies": {
60
- "eslint-plugin-react": "^7.37.4",
61
- "eslint-plugin-react-hooks": "^5.1.0"
+ "eslint-plugin-react": "^7.37.5",
+ "eslint-plugin-react-hooks": "^7.0.1"
62
63
"devDependencies": {
64
- "ava": "^6.2.0",
65
- "eslint": "^9.18.0",
66
- "react": "^19.0.0"
+ "ava": "^6.4.1",
+ "eslint": "^9.38.0",
+ "react": "^19.2.0"
67
68
"peerDependencies": {
69
"eslint": ">=9.18.0"
0 commit comments