From fa77755c8c4a7b737a9583f5a6b29fd1982e3af8 Mon Sep 17 00:00:00 2001 From: pipipi-pikachu <1171051090@qq.com> Date: Wed, 3 Feb 2021 17:55:21 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E4=BF=AE=E6=94=B9ESLint=E9=85=8D?= =?UTF-8?q?=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .eslintrc.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.eslintrc.js b/.eslintrc.js index 9e224949..67f37302 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -63,9 +63,9 @@ module.exports = { 'no-eval': 'error', 'no-var': 'error', 'no-with': 'error', - 'no-alert': isProduction ? 'warn' : 'off', - 'no-console': isProduction ? 'warn' : 'off', - 'no-debugger': isProduction ? 'warn' : 'off', + 'no-alert': isProduction ? 'error' : 'warn', + 'no-console': isProduction ? 'error' : 'warn', + 'no-debugger': isProduction ? 'error' : 'warn', }, overrides: [ {