chore: 🤖 关闭了eslint相关检测
This commit is contained in:
@@ -1,10 +0,0 @@
|
|||||||
{
|
|
||||||
"permissions": {
|
|
||||||
"allow": [
|
|
||||||
"Bash(npm run lint:*)",
|
|
||||||
"Bash(npm run typecheck:*)"
|
|
||||||
],
|
|
||||||
"deny": [],
|
|
||||||
"ask": []
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -30,7 +30,7 @@ export default defineConfig([
|
|||||||
argsIgnorePattern: "^_",
|
argsIgnorePattern: "^_",
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
"react-hooks/exhaustive-deps": "warn",
|
"react-hooks/exhaustive-deps": 0, // 关闭hooks依赖检测
|
||||||
"no-console": 1,
|
"no-console": 1,
|
||||||
"react-hooks/rules-of-hooks": "error",
|
"react-hooks/rules-of-hooks": "error",
|
||||||
"no-nested-ternary": 0, // 允许嵌套三元表达式
|
"no-nested-ternary": 0, // 允许嵌套三元表达式
|
||||||
|
|||||||
Reference in New Issue
Block a user