From: Chocobozzz Date: Tue, 12 Dec 2017 13:08:48 +0000 (+0100) Subject: Improve lint X-Git-Tag: v0.0.1-alpha~140 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=4a7eeb62f1364678fff28fef4a83a0e9b640017c;p=oweals%2Fpeertube.git Improve lint --- diff --git a/client/src/app/menu/menu.component.html b/client/src/app/menu/menu.component.html index 7a80fa4de..2671dd90b 100644 --- a/client/src/app/menu/menu.component.html +++ b/client/src/app/menu/menu.component.html @@ -3,7 +3,7 @@ Avatar
- {{ user.username }} + {{ user.username }}
{{ user.email }}
diff --git a/client/tslint.json b/client/tslint.json index 068fe596e..c1ca4336e 100644 --- a/client/tslint.json +++ b/client/tslint.json @@ -13,22 +13,27 @@ "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-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": false, - "invoke-injectable": true + "pipe-impure": true } }