Explorar o código

fix: range null

2637309949@qq.com %!s(int64=5) %!d(string=hai) anos
pai
achega
23028208e9
Modificáronse 1 ficheiros con 4 adicións e 1 borrados
  1. 4 1
      .eslintrc.js

+ 4 - 1
.eslintrc.js

@@ -54,7 +54,10 @@ module.exports = {
     }],
     'handle-callback-err': [2, '^(err|error)$'],
     'indent': [2, 2, {
-      'SwitchCase': 1
+      'SwitchCase': 1,
+      "ignoredNodes": [
+        "TemplateLiteral"
+      ]
     }],
     'jsx-quotes': [2, 'prefer-single'],
     'key-spacing': [2, {