Commit 8999b2c4 by Jaxon

chore: 禁用 no-useless-catch 规则

该规则在项目中产生了较多警告,且在某些异步错误处理场景下过于严格,因此将其从 'warn' 调整为 'off' 以保持代码整洁。
1 parent dffbc791
......@@ -29,7 +29,7 @@ export default antfu({
"array-bracket-spacing": ["error", "always"],
},
rules: {
"no-useless-catch": "warn",
"no-useless-catch": "off",
"vue/no-unused-refs": "warn",
"unused-imports/no-unused-imports": "warn",
"no-unused-vars": "warn",
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!