From 942d6edf7bc1a693017f3f28ff2d6f399896e8cb Mon Sep 17 00:00:00 2001 From: Coffee-crocodile <1147347984@qq.com> Date: Thu, 4 Aug 2022 14:29:06 +0800 Subject: [PATCH] add a eslint Comment Signed-off-by: Coffee-crocodile <1147347984@qq.com> --- .eslintrc.js | 1 + 1 file changed, 1 insertion(+) diff --git a/.eslintrc.js b/.eslintrc.js index 8219d26..0428bb5 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -27,6 +27,7 @@ module.exports = { //https://eslint.org/docs/latest/ '@vue/typescript/recommended' ], rules: { + // TSESLint docs https://typescript-eslint.io/rules/ 'no-var': 'error', // 禁止使用var 'no-console': 'warn', // 禁止出现console "no-debugger": "off", // 关闭debugger警告