Add server hooks
[oweals/peertube.git] / tslint.json
index 6e982ca85d47121cdfae366389a6502238b28d21..cfe2ac712941313f421b0c2b874377c471ff4da1 100644 (file)
@@ -1,11 +1,19 @@
 {
   "extends": "tslint-config-standard",
   "rules": {
+    "await-promise": [true, "Bluebird"],
     "no-inferrable-types": true,
     "eofline": true,
-    "indent": ["spaces"],
-    "ter-indent": [true, 2],
+    "indent": [true, "spaces"],
+    "ter-indent": [
+      true,
+      2,
+      {
+        "SwitchCase": 1
+      }
+    ],
     "max-line-length": [true, 140],
+    "no-unused-variable": false, // Memory issues
     "no-floating-promises": false
   }
 }