File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
compiler/packages/eslint-plugin-react-compiler/src/rules
packages/eslint-plugin-react-hooks/src/rules Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -101,7 +101,7 @@ const COMPILER_OPTIONS: Partial<PluginOptions> = {
101
101
// Don't emit errors on Flow suppressions--Flow already gave a signal
102
102
flowSuppressions : false ,
103
103
environment : validateEnvironmentConfig ( {
104
- validateRefAccessDuringRender : false ,
104
+ validateRefAccessDuringRender : true ,
105
105
validateNoSetStateInRender : true ,
106
106
validateNoSetStateInEffects : true ,
107
107
validateNoJSXInTryStatements : true ,
Original file line number Diff line number Diff line change @@ -103,7 +103,7 @@ const COMPILER_OPTIONS: Partial<PluginOptions> = {
103
103
// Don't emit errors on Flow suppressions--Flow already gave a signal
104
104
flowSuppressions : false ,
105
105
environment : validateEnvironmentConfig ( {
106
- validateRefAccessDuringRender : false ,
106
+ validateRefAccessDuringRender : true ,
107
107
validateNoSetStateInRender : true ,
108
108
validateNoSetStateInEffects : true ,
109
109
validateNoJSXInTryStatements : true ,
You can’t perform that action at this time.
0 commit comments