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, // 允许嵌套三元表达式