Compare commits

...

1 Commits

Author SHA1 Message Date
Lauren Tan
d7c140dde0 [eprh] Enable react-compiler rule by default
Updates eslint-plugin-react-hooks to enable the compiler rule by default.
2025-06-11 13:06:59 -04:00

View File

@@ -21,6 +21,7 @@ const rules = {
const configRules = {
'react-hooks/rules-of-hooks': 'error',
'react-hooks/exhaustive-deps': 'warn',
'react-hooks/react-compiler': 'error',
} satisfies Linter.RulesRecord;
// Flat config