From 8046a66540af748b29671ad3c0cfe6e2c2c5a1e3 Mon Sep 17 00:00:00 2001 From: Frost-ZX <30585462+Frost-ZX@users.noreply.github.com> Date: Sat, 5 Jun 2021 11:04:03 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=B3=E9=97=AD=20no-console=E3=80=81no-debu?= =?UTF-8?q?gger?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .eslintrc.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.eslintrc.js b/.eslintrc.js index 7ac7acf..8ab68ce 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -11,8 +11,8 @@ module.exports = { parser: 'babel-eslint' }, rules: { - 'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off', - 'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off', + 'no-console': 'off', + 'no-debugger': 'off', 'vue/html-closing-bracket-newline': 'off', 'vue/html-indent': 'off', 'vue/html-self-closing': 'off',