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",