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 624cadd commit 52d5574Copy full SHA for 52d5574
src/configs/react.ts
@@ -143,8 +143,7 @@ export async function react(
143
'react-dom/no-void-elements-with-children': 'error',
144
145
// recommended rules eslint-plugin-react-hooks https://github.com/facebook/react/tree/main/packages/eslint-plugin-react-hooks/src/rules
146
- 'react-hooks/exhaustive-deps': 'warn',
147
- 'react-hooks/rules-of-hooks': 'error',
+ ...pluginReactHooks.configs.recommended.rules,
148
149
// recommended rules from eslint-plugin-react-hooks-extra https://eslint-react.xyz/docs/rules/overview#hooks-extra-rules
150
'react-hooks-extra/no-direct-set-state-in-use-effect': 'warn',
0 commit comments