]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/tslint.json
Translated using Weblate (Polish)
[github/Chocobozzz/PeerTube.git] / client / tslint.json
index f45b1d576dd652205431698f35c12ef6b1ff4862..d9983182e6a4485326dafc8673fe74f0e8e95eae 100644 (file)
@@ -1,11 +1,13 @@
 {
   "extends": [ "tslint-angular", "tslint-config-standard" ],
   "rules": {
+    "deprecation": {
+      "severity": "warning"
+    },
     "no-inferrable-types": true,
     "eofline": true,
     "max-line-length": [true, 140],
-    "no-floating-promises": false,
-    "no-unused-variable": false, // Memory issues
+    "no-floating-promises": false, // Memory issues
     "await-promise": [true, "PromiseLike"],
     "member-ordering": [true, {
       "order": [
         "private-instance-method"
         ]}
     ],
+    "variable-name": [
+      true,
+      "ban-keywords",
+      "check-format",
+      "allow-leading-underscore",
+      "allow-pascal-case",
+      "allow-trailing-underscore"
+    ],
 
     "no-shadowed-variable": false,
     "no-bitwise": false,