Warn when useState get/set names mismatch (#10166)

This commit is contained in:
DS Boyce
2026-04-02 15:47:56 -07:00
committed by GitHub
parent 9fe808f8a8
commit e0ea778e58
+1
View File
@@ -127,6 +127,7 @@ export default defineConfig(
*/
...react.configs.recommended.rules,
...react.configs['jsx-runtime'].rules,
'react/hook-use-state': 'warn',
'react/no-unescaped-entities': 'off',
'react/prop-types': 'off',
'react-native/no-inline-styles': 'off',