chore: 更新 ESLint 配置,禁用未使用变量和导入的规则
This commit is contained in:
@@ -24,6 +24,9 @@ export default antfu({
|
|||||||
ecmaVersion: 2020,
|
ecmaVersion: 2020,
|
||||||
},
|
},
|
||||||
rules: {
|
rules: {
|
||||||
|
"no-unused-vars": "off",
|
||||||
|
"unused-imports/no-unused-vars": "off",
|
||||||
|
"unused-imports/no-unused-imports": "off",
|
||||||
"no-console": process.env.NODE_ENV === "production" ? "warn" : "off",
|
"no-console": process.env.NODE_ENV === "production" ? "warn" : "off",
|
||||||
"no-debugger": process.env.NODE_ENV === "production" ? "warn" : "off",
|
"no-debugger": process.env.NODE_ENV === "production" ? "warn" : "off",
|
||||||
"vue/no-deprecated-slot-attribute": "off",
|
"vue/no-deprecated-slot-attribute": "off",
|
||||||
|
|||||||
Reference in New Issue
Block a user