屏蔽最后行逗号的eslint检查

This commit is contained in:
zhl 2020-04-08 14:53:37 +08:00
parent dec7b5f13f
commit b434710c59

View File

@ -42,7 +42,7 @@ module.exports = {
'camelcase': [0, {
'properties': 'always'
}],
'comma-dangle': [2, 'ignore'],
'comma-dangle': [2, 'only-multiline'],
'comma-spacing': [2, {
'before': false,
'after': true