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