perf[Eslint]: update eslint rules

This commit is contained in:
Pan 2019-03-22 18:15:37 +08:00
parent 74b6bb8069
commit a9b4467472
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ 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': [2, 'allow-null'], 'eqeqeq': ["error", "always", {"null": "ignore"}],
'generator-star-spacing': [2, { 'generator-star-spacing': [2, {
'before': true, 'before': true,
'after': true 'after': true