Commit 6ee9d370 by Jaxon

chron: 更新 ESLint 配置,添加未使用引用和变量的警告规则

1 parent 01effb2a
...@@ -20,6 +20,9 @@ export default antfu({ ...@@ -20,6 +20,9 @@ export default antfu({
"array-bracket-spacing": ["error", "always"], "array-bracket-spacing": ["error", "always"],
}, },
rules: { rules: {
"vue/no-unused-refs":"warn",
"unused-imports/no-unused-imports": "warn",
"no-unused-vars": "warn",
"style/eol-last": "off", "style/eol-last": "off",
"no-prototype-builtins": "warn", "no-prototype-builtins": "warn",
"prefer-template": "off", "prefer-template": "off",
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!