mirror of
https://github.com/facebook/react.git
synced 2026-11-18 20:15:56 +00:00
Update eslint plugin to enable more safe validations
This commit is contained in:
1 parent
fc85f24865
commit
3d2a05490f
1 file changed
+1
@@ -65,6 +65,7 @@ const COMPILER_OPTIONS: Partial<PluginOptions> = {
|
||||
validateHooksUsage: true,
|
||||
validateFrozenLambdas: false,
|
||||
validateRefAccessDuringRender: true,
|
||||
validateNoSetStateInRender: true,
|
||||
},
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user