Feature: Turn off line-length test for eslint

This commit is contained in:
winkidney
2019-11-22 17:38:40 +08:00
committed by Isaac Bythewood
parent 90a44df994
commit 07dfa81a89

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',
'max-len': 'off',
},
parserOptions: {
parser: 'babel-eslint',