]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/tslint.json
Client: Auth services cleanup
[github/Chocobozzz/PeerTube.git] / client / tslint.json
index 8e4e3fca13fc066f2a1b3b89af533393a462e277..0cffea582523bb924de7807a91a99fe732f27d63 100644 (file)
@@ -2,6 +2,7 @@
   "rulesDirectory": ["./node_modules/codelyzer"],
   "rules": {
     "class-name": true,
+    "no-inferrable-types": true,
     "curly": false,
     "eofline": true,
     "indent": ["spaces"],
     "use-pipe-transform-interface": true,
     "pipe-naming": [true, "camelCase", "my"],
     "component-class-suffix": true,
-    "directive-class-suffix": true
+    "directive-class-suffix": true,
+
+    "typedef-whitespace": [ true,
+      {
+        "call-signature": "nospace",
+        "index-signature": "nospace",
+        "parameter": "nospace",
+        "property-declaration": "nospace",
+        "variable-declaration": "nospace"
+      }
+    ],
+    "whitespace": [ true,
+      "check-branch",
+      "check-decl",
+      "check-operator",
+      "check-separator",
+      "check-type"
+    ]
   }
 }