X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=tslint.json;h=cfe2ac712941313f421b0c2b874377c471ff4da1;hb=2f6b5e2d6ebcac88d9005ea2654ffa77907d5db2;hp=6e982ca85d47121cdfae366389a6502238b28d21;hpb=b0f9f39ed70299a208d1b388c72de8b7f3510cb7;p=github%2FChocobozzz%2FPeerTube.git diff --git a/tslint.json b/tslint.json index 6e982ca85..cfe2ac712 100644 --- a/tslint.json +++ b/tslint.json @@ -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 } }