2637309949@qq.com 5 anni fa
parent
commit
23028208e9
1 ha cambiato i file con 4 aggiunte e 1 eliminazioni
  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, {