chore: 🤖 关闭了eslint相关检测

This commit is contained in:
2025-08-26 11:42:43 +08:00
parent 24ffe99f24
commit f927146475
2 changed files with 1 additions and 11 deletions

View File

@@ -1,10 +0,0 @@
{
"permissions": {
"allow": [
"Bash(npm run lint:*)",
"Bash(npm run typecheck:*)"
],
"deny": [],
"ask": []
}
}

View File

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