update eslintrc

This commit is contained in:
Seth Ladygo
2019-04-03 00:20:44 -07:00
parent f243919443
commit 72ffbfe7a6

View File

@ -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'