X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Ftslint.json;h=0cffea582523bb924de7807a91a99fe732f27d63;hb=7920c273a204e2469416a30b752b12ccd3160102;hp=8e4e3fca13fc066f2a1b3b89af533393a462e277;hpb=a563a494f010236ed530c494f152cb32606e94d0;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/tslint.json b/client/tslint.json index 8e4e3fca1..0cffea582 100644 --- a/client/tslint.json +++ b/client/tslint.json @@ -2,6 +2,7 @@ "rulesDirectory": ["./node_modules/codelyzer"], "rules": { "class-name": true, + "no-inferrable-types": true, "curly": false, "eofline": true, "indent": ["spaces"], @@ -51,6 +52,23 @@ "use-pipe-transform-interface": true, "pipe-naming": [true, "camelCase", "my"], "component-class-suffix": true, - "directive-class-suffix": true + "directive-class-suffix": true, + + "typedef-whitespace": [ true, + { + "call-signature": "nospace", + "index-signature": "nospace", + "parameter": "nospace", + "property-declaration": "nospace", + "variable-declaration": "nospace" + } + ], + "whitespace": [ true, + "check-branch", + "check-decl", + "check-operator", + "check-separator", + "check-type" + ] } }