From 72ffbfe7a62b5f62a3189bbfb3dafb6361e0bebd Mon Sep 17 00:00:00 2001 From: Seth Ladygo Date: Wed, 3 Apr 2019 00:20:44 -0700 Subject: [PATCH] update eslintrc --- cateditor/.eslintrc.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/cateditor/.eslintrc.js b/cateditor/.eslintrc.js index 98d0431..64b2f23 100644 --- a/cateditor/.eslintrc.js +++ b/cateditor/.eslintrc.js @@ -1,7 +1,8 @@ module.exports = { root: true, env: { - node: true + node: true, + es6: true, }, 'extends': [ 'plugin:vue/essential', @@ -9,7 +10,8 @@ module.exports = { ], rules: { 'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off', - 'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off' + 'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off', + "indent": ["warn", 2] }, parserOptions: { parser: 'babel-eslint'