X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=tslint.json;h=cfe2ac712941313f421b0c2b874377c471ff4da1;hb=22a73cb879a5cc775d4bec3d72fa9c9cf52e5175;hp=8887798568c59436d95d1e9d2d6bc4a19abe28d3;hpb=65fcc3119c334b75dd13bcfdebf186afdc580a8f;p=github%2FChocobozzz%2FPeerTube.git diff --git a/tslint.json b/tslint.json index 888779856..cfe2ac712 100644 --- a/tslint.json +++ b/tslint.json @@ -1,3 +1,19 @@ { - "extends": "tslint-config-standard" + "extends": "tslint-config-standard", + "rules": { + "await-promise": [true, "Bluebird"], + "no-inferrable-types": true, + "eofline": true, + "indent": [true, "spaces"], + "ter-indent": [ + true, + 2, + { + "SwitchCase": 1 + } + ], + "max-line-length": [true, 140], + "no-unused-variable": false, // Memory issues + "no-floating-promises": false + } }