From e0ea778e585807b24beb07bd8ab75a61131522ce Mon Sep 17 00:00:00 2001 From: DS Boyce <260543580+ds-boyce@users.noreply.github.com> Date: Thu, 2 Apr 2026 15:47:56 -0700 Subject: [PATCH] Warn when useState get/set names mismatch (#10166) --- eslint.config.mjs | 1 + 1 file changed, 1 insertion(+) diff --git a/eslint.config.mjs b/eslint.config.mjs index abfdd4a013..a0f0db9140 100644 --- a/eslint.config.mjs +++ b/eslint.config.mjs @@ -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',