Skip to content

Commit 734f1bf

Browse files
authored
[eprh] Enable enableUseKeyedState and enableVerboseNoSetStateInEffect (#35338)
Temporarily enables these 2 flags for internal testing.
1 parent 61331f3 commit 734f1bf

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

packages/eslint-plugin-react-hooks/src/shared/RunReactCompiler.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,9 @@ const COMPILER_OPTIONS: PluginOptions = {
3939
validateNoCapitalizedCalls: [],
4040
validateHooksUsage: true,
4141
validateNoDerivedComputationsInEffects: true,
42+
// Temporarily enabled for internal testing
43+
enableUseKeyedState: true,
44+
enableVerboseNoSetStateInEffect: true,
4245
},
4346
};
4447

0 commit comments

Comments
 (0)