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 055e8e2 commit 281661eCopy full SHA for 281661e
eslint.config.js
@@ -25,6 +25,7 @@ export default typescript.config(
25
rules: {
26
...react.configs.recommended.rules,
27
...react.configs['jsx-runtime'].rules,
28
+ ...reactHooks.configs['recommended-latest'].rules,
29
'react-refresh/only-export-components': [
30
'warn',
31
{ allowConstantExport: true },
@@ -78,7 +79,6 @@ export default typescript.config(
78
79
'@typescript-eslint/no-unused-vars': 'warn',
80
'@typescript-eslint/require-await': 'warn',
81
// react hooks
- 'react-hooks/rules-of-hooks': 'error',
82
'react-hooks/exhaustive-deps': 'error',
83
},
84
settings: { react: { version: 'detect' } },
0 commit comments