屏蔽最后行逗号的eslint检查

This commit is contained in:
zhl 2020-04-08 10:07:21 +08:00
parent 9a3677f385
commit dec7b5f13f

View File

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