From 27fafc405af72c29a59eca0d0131fcd65579cb04 Mon Sep 17 00:00:00 2001 From: Seth Ladygo Date: Fri, 13 Mar 2020 09:17:39 -0700 Subject: [PATCH] cateditor eslint: don't warn on console writing in production --- cateditor/.eslintrc.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cateditor/.eslintrc.js b/cateditor/.eslintrc.js index 1cd5e13..850c5fa 100644 --- a/cateditor/.eslintrc.js +++ b/cateditor/.eslintrc.js @@ -11,7 +11,8 @@ module.exports = { 'vuetify' ], rules: { - 'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off', + //'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off', + 'no-console': 'off', 'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off', 'indent': ['warn', 2, { CallExpression: { arguments: 'first' }, ObjectExpression: 'first',