Browse Source

禁用==,强制使用===

master
李磊 3 years ago
parent
commit
8a1e6b7993
  1. 2
      .eslintrc.js

2
.eslintrc.js

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

Loading…
Cancel
Save