X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=tslint.json;h=cfe2ac712941313f421b0c2b874377c471ff4da1;hb=f9895a86a34fc42fbc1fe0c75680dfa636d745d6;hp=92d0bd2b1d7c4603d3de4189376af5e1c95fb4fa;hpb=dfecb9003600913f8c3130a87e5b403d6686a55f;p=github%2FChocobozzz%2FPeerTube.git diff --git a/tslint.json b/tslint.json index 92d0bd2b1..cfe2ac712 100644 --- a/tslint.json +++ b/tslint.json @@ -4,8 +4,14 @@ "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