X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Ftslint.json;h=d9983182e6a4485326dafc8673fe74f0e8e95eae;hb=900f7820814b95b07ef0bcac04036a95abfbe060;hp=f45b1d576dd652205431698f35c12ef6b1ff4862;hpb=c47106315ae3c403239cda29c49b4bba51ddccb2;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/tslint.json b/client/tslint.json index f45b1d576..d9983182e 100644 --- a/client/tslint.json +++ b/client/tslint.json @@ -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": [ @@ -20,6 +22,14 @@ "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,