fix:代码规范

This commit is contained in:
junjie 2021-06-24 13:48:48 +08:00
parent 5e10c1d8c7
commit 820a91b71a

View File

@ -47,7 +47,9 @@ module.exports = {
'curly': [2, 'multi-line'], 'curly': [2, 'multi-line'],
'dot-location': [2, 'property'], 'dot-location': [2, 'property'],
'eol-last': 2, 'eol-last': 2,
'eqeqeq': ["error", "always", {"null": "ignore"}], 'eqeqeq': ["error", "always", {
"null": "ignore"
}],
'generator-star-spacing': [2, { 'generator-star-spacing': [2, {
'before': true, 'before': true,
'after': true 'after': true