From 86d874259610c82481fc0f177a2a47f960a8327d Mon Sep 17 00:00:00 2001 From: mackt <1033530438@qq.com> Date: Thu, 17 Oct 2024 13:11:34 +0800 Subject: [PATCH] chore: update eslint setting --- .eslintrc.json | 1 + 1 file changed, 1 insertion(+) diff --git a/.eslintrc.json b/.eslintrc.json index 22c4bb9..7784796 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -12,6 +12,7 @@ "@typescript-eslint/no-non-null-assertion": "off", // 允许使用非空断言 "@typescript-eslint/no-var-requires": "off", // 允许使用CommonJS的写法 "no-console": ["warn", { "allow": ["warn", "error"] }], // 提交时不允许有console.log + "@typescript-eslint/no-unused-vars": "off", // 允许存在未使用的变量 "no-debugger": "warn", "import/order": [ "error",