[eprh] Enable react-compiler rule by default

Updates eslint-plugin-react-hooks to enable the compiler rule by default.
This commit is contained in:
Lauren Tan
2025-06-11 13:06:59 -04:00
parent b7e2de632b
commit d7c140dde0
@@ -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