From 4bc5c1a46e08c914ba24bc51d9cfa4a32dd3169b Mon Sep 17 00:00:00 2001 From: huzhushan Date: Tue, 20 Apr 2021 11:00:06 +0800 Subject: [PATCH] update --- .eslintrc.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.eslintrc.js b/.eslintrc.js index 88770a3..f2524ce 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -15,7 +15,7 @@ module.exports = { 'no-console': 0, 'no-use-before-define': 'off', 'no-unused-vars': [ - 'error', + 'warn', { // 允许声明未使用变量 vars: 'local', @@ -23,7 +23,7 @@ module.exports = { args: 'none', }, ], - 'vue/no-unused-vars': 'error', + 'vue/no-unused-vars': 'warn', 'no-prototype-builtins': 'off', 'space-before-function-paren': 'off', 'vue/custom-event-name-casing': 'off',