From e2dbf13c8fb0ae857bcabcd78c88515004b083bd Mon Sep 17 00:00:00 2001 From: winkidney Date: Sun, 8 Dec 2019 01:26:18 +0800 Subject: [PATCH] Feature: Allow a little console.log for production --- pinry-spa/.eslintrc.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pinry-spa/.eslintrc.js b/pinry-spa/.eslintrc.js index a18aa4e..79d2395 100644 --- a/pinry-spa/.eslintrc.js +++ b/pinry-spa/.eslintrc.js @@ -8,9 +8,10 @@ module.exports = { '@vue/airbnb', ], rules: { - 'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off', + // 'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off', 'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off', 'max-len': 'off', + "no-console": "off", }, parserOptions: { parser: 'babel-eslint',