update eslintrc.js

This commit is contained in:
zhigang.li 2018-06-13 12:30:49 +08:00
parent 18c3e257a4
commit 88059eecfa
1 changed files with 2 additions and 1 deletions

View File

@ -9,6 +9,7 @@ module.exports = {
'generator-star-spacing': 'off', 'generator-star-spacing': 'off',
// allow debugger during development // allow debugger during development
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off', 'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off',
'vue/no-parsing-error': [2, { 'x-invalid-end-tag': false }] 'vue/no-parsing-error': [2, { 'x-invalid-end-tag': false }],
'no-undef': 'off'
} }
} }