X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Ftslint.json;h=db852d9f8d37fbf247ded51ca4b5c0436100b4ea;hb=2da00d2a51a7eb1a7aba69949bb559faf9fa579c;hp=cfad2a5d94184e9bf2859fdbe0bca620d3c84939;hpb=df98563e2104b82b119c00a3cd83cd0dc1242d25;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/tslint.json b/client/tslint.json index cfad2a5d9..db852d9f8 100644 --- a/client/tslint.json +++ b/client/tslint.json @@ -4,32 +4,36 @@ "rules": { "no-inferrable-types": true, "eofline": true, - "indent": ["spaces"], "max-line-length": [true, 140], "no-floating-promises": false, - "no-unused-variable": false, // Bug, wait TypeScript 2.4 + "no-unused-variable": false, // Memory issues "member-ordering": [true, "public-before-private", "static-before-instance", "variables-before-functions" ], + "angular-whitespace": [true, "check-interpolation", "check-semicolon"], + "banana-in-box": true, + "templates-no-negated-async": true, "directive-selector": [true, "attribute", "my", "camelCase"], "component-selector": [true, "element", "my", "kebab-case"], "use-input-property-decorator": true, "use-output-property-decorator": true, "use-host-property-decorator": true, + "use-view-encapsulation": true, "no-attribute-parameter-decorator": true, "no-input-rename": true, "no-output-rename": true, - "no-forward-ref": true, + "no-output-on-prefix": true, + "no-forward-ref": false, "use-life-cycle-interface": true, + "contextual-life-cycle": true, + "trackBy-function": false, "use-pipe-transform-interface": true, "pipe-naming": [true, "camelCase", "my"], "component-class-suffix": true, "directive-class-suffix": true, - "templates-use-public": true, - "no-access-missing-member": true, - "invoke-injectable": true + "pipe-impure": true } }