build: disable eslint warning in dev

This commit is contained in:
Gauthier Roebroeck 2020-08-25 15:33:04 +08:00
parent da4a0aa10b
commit 9440654340

View file

@ -10,6 +10,7 @@ module.exports = {
rules: {
'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off',
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off',
'vue/no-unused-components': process.env.NODE_ENV === 'production' ? 'error' : 'off',
'no-fallthrough': 'off',
'comma-dangle': ['error', 'always-multiline'],
},