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 897a3c8 commit 1557f2cCopy full SHA for 1557f2c
eslint.config.js
@@ -57,7 +57,7 @@ export default defineConfig([
57
pluginJsxA11y.flatConfigs.recommended,
58
pluginReact.configs.flat.recommended,
59
pluginReact.configs.flat['jsx-runtime'],
60
- 'react-hooks/recommended-latest',
+ pluginReactHooks.configs.flat.recommended,
61
],
62
languageOptions: {
63
globals: globals.browser,
@@ -66,9 +66,6 @@ export default defineConfig([
66
sourceType: 'module',
67
},
68
69
- plugins: {
70
- 'react-hooks': pluginReactHooks,
71
- },
72
settings: {
73
react: {
74
version: 'detect',
0 commit comments