@@ -324,21 +324,21 @@ module.exports = {
324324 rules : {
325325 'react-hooks/rules-of-hooks' : 'error' ,
326326 'react-hooks/exhaustive-deps' : 'warn' ,
327- 'react-hooks/component-hook-factories' : 'error ' , // Validates higher order functions defining nested components or hooks
327+ 'react-hooks/component-hook-factories' : 'warn ' , // Validates higher order functions defining nested components or hooks
328328 'react-hooks/config' : 'error' , // Validates the compiler configuration options
329329 'react-hooks/error-boundaries' : 'error' , // Validates usage of Error Boundaries instead of try/catch for child errors
330330 'react-hooks/gating' : 'error' , // Validates configuration of gating mode
331- 'react-hooks/globals' : 'error ' , // Validates against assignment/mutation of globals during render
332- 'react-hooks/immutability' : 'error ' , // Validates against mutating props, state, and other immutable values
333- 'react-hooks/incompatible-library' : 'error ' , // Validates against usage of libraries which are incompatible with memoization
334- 'react-hooks/preserve-manual-memoization' : 'error ' , // Validates that existing manual memoization is preserved by the compiler
335- 'react-hooks/purity' : 'error ' , // Validates that components/hooks are pure by checking known-impure functions
336- 'react-hooks/refs' : 'error ' , // Validates correct usage of refs, not reading/writing during render
337- 'react-hooks/set-state-in-effect' : 'error ' , // Validates against calling setState synchronously in an effect
338- 'react-hooks/set-state-in-render' : 'error ' , // Validates against setting state during render
339- 'react-hooks/static-components' : 'error ' , // Validates that components are static, not recreated every render
340- 'react-hooks/unsupported-syntax' : 'error ' , // Validates against syntax that React Compiler does not support
341- 'react-hooks/use-memo' : 'error ' , // Validates usage of the useMemo hook without a return value
331+ 'react-hooks/globals' : 'warn ' , // Validates against assignment/mutation of globals during render
332+ 'react-hooks/immutability' : 'warn ' , // Validates against mutating props, state, and other immutable values
333+ 'react-hooks/incompatible-library' : 'warn ' , // Validates against usage of libraries which are incompatible with memoization
334+ 'react-hooks/preserve-manual-memoization' : 'warn ' , // Validates that existing manual memoization is preserved by the compiler
335+ 'react-hooks/purity' : 'warn ' , // Validates that components/hooks are pure by checking known-impure functions
336+ 'react-hooks/refs' : 'warn ' , // Validates correct usage of refs, not reading/writing during render
337+ 'react-hooks/set-state-in-effect' : 'warn ' , // Validates against calling setState synchronously in an effect
338+ 'react-hooks/set-state-in-render' : 'warn ' , // Validates against setting state during render
339+ 'react-hooks/static-components' : 'warn ' , // Validates that components are static, not recreated every render
340+ 'react-hooks/unsupported-syntax' : 'warn ' , // Validates against syntax that React Compiler does not support
341+ 'react-hooks/use-memo' : 'warn ' , // Validates usage of the useMemo hook without a return value
342342 'react/no-unused-prop-types' : 'error' ,
343343 'react/no-unused-state' : 'error' ,
344344 'react/jsx-boolean-value' : 'error' ,
0 commit comments