Przeglądaj źródła

Use mocha environment and expect global to fix linting in tests

Alasdair Smith 8 lat temu
rodzic
commit
4524b3c9f6
1 zmienionych plików z 7 dodań i 1 usunięć
  1. 7 1
      services/web/.eslintrc

+ 7 - 1
services/web/.eslintrc

@@ -1,3 +1,9 @@
 {
 {
-  "extends": ["standard"]
+  "extends": ["standard"],
+  "env": {
+    "mocha": true
+  },
+  "globals": {
+    "expect": true
+  }
 }
 }