From f927146475b6909fae88a579968bb1045332700f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=89=8D=E7=AB=AF=E4=BA=BA=E7=BB=9D=E4=B8=8D=E4=B8=BA?= =?UTF-8?q?=E5=A5=B4?= Date: Tue, 26 Aug 2025 11:42:43 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=F0=9F=A4=96=20=E5=85=B3=E9=97=AD?= =?UTF-8?q?=E4=BA=86eslint=E7=9B=B8=E5=85=B3=E6=A3=80=E6=B5=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .claude/settings.local.json | 10 ---------- eslint.config.js | 2 +- 2 files changed, 1 insertion(+), 11 deletions(-) delete mode 100644 .claude/settings.local.json diff --git a/.claude/settings.local.json b/.claude/settings.local.json deleted file mode 100644 index e9b8348..0000000 --- a/.claude/settings.local.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "permissions": { - "allow": [ - "Bash(npm run lint:*)", - "Bash(npm run typecheck:*)" - ], - "deny": [], - "ask": [] - } -} \ No newline at end of file diff --git a/eslint.config.js b/eslint.config.js index 85655be..ee9c15c 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -30,7 +30,7 @@ export default defineConfig([ argsIgnorePattern: "^_", }, ], - "react-hooks/exhaustive-deps": "warn", + "react-hooks/exhaustive-deps": 0, // 关闭hooks依赖检测 "no-console": 1, "react-hooks/rules-of-hooks": "error", "no-nested-ternary": 0, // 允许嵌套三元表达式