update eslintrc
This commit is contained in:
@ -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'
|
||||
|
||||
Reference in New Issue
Block a user