We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a38128d commit 7ce754aCopy full SHA for 7ce754a
eslint.config.mjs
@@ -17,11 +17,9 @@ export default tseslint.config(
17
tseslint.configs.recommended,
18
react.configs.flat.recommended,
19
react.configs.flat['jsx-runtime'],
20
+ reactHooks.configs['recommended-latest'],
21
+ reactCompiler.configs.recommended,
22
{
- plugins: {
- 'react-compiler': reactCompiler,
23
- 'react-hooks': reactHooks,
24
- },
25
settings: {
26
react: {
27
version: 'detect',
@@ -74,8 +72,6 @@ export default tseslint.config(
74
72
'warn',
75
73
{ argsIgnorePattern: '^_', varsIgnorePattern: '^_' },
76
],
77
- 'react-compiler/react-compiler': 'warn',
78
- ...reactHooks.configs.recommended.rules,
79
},
80
81
0 commit comments