From 040c599e5175b24e17e5d09cdab35f58e53cfe98 Mon Sep 17 00:00:00 2001 From: Cagatay Civici Date: Thu, 17 Sep 2020 15:11:27 +0300 Subject: [PATCH] Update lint rules --- .eslintrc.js | 31 ++++++++++++------------ src/components/breadcrumb/Breadcrumb.vue | 6 ++--- 2 files changed, 18 insertions(+), 19 deletions(-) diff --git a/.eslintrc.js b/.eslintrc.js index a5411a83c..69d2fd097 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -1,18 +1,17 @@ module.exports = { - root: true, - env: { - node: true - }, - 'extends': [ - 'plugin:vue/essential', - 'eslint:recommended' - ], - rules: { - 'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off', - 'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off', - 'no-trailing-spaces': 'error' - }, - parserOptions: { - parser: 'babel-eslint' - } + root: true, + env: { + node: true + }, + 'extends': [ + 'plugin:vue/vue3-essential', + 'eslint:recommended' + ], + parserOptions: { + parser: 'babel-eslint' + }, + rules: { + 'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off', + 'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off' } +} \ No newline at end of file diff --git a/src/components/breadcrumb/Breadcrumb.vue b/src/components/breadcrumb/Breadcrumb.vue index b1c58c367..c4588abbe 100755 --- a/src/components/breadcrumb/Breadcrumb.vue +++ b/src/components/breadcrumb/Breadcrumb.vue @@ -2,9 +2,9 @@