Skip to content

Commit 69ba213

Browse files
committed
chore: enable React Compiler ESLint rules
Use recommended-latest preset to identify components that can't be optimized by the compiler. Co-Authored-By: Claude
1 parent 5920c70 commit 69ba213

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

eslint.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export default tseslint.config(
1818
'react-refresh': reactRefresh,
1919
},
2020
rules: {
21-
...reactHooks.configs.recommended.rules,
21+
...reactHooks.configs['recommended-latest'].rules,
2222
'react-refresh/only-export-components': [
2323
'warn',
2424
{ allowConstantExport: true },

0 commit comments

Comments
 (0)