From 4a7eeb62f1364678fff28fef4a83a0e9b640017c Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 12 Dec 2017 14:08:48 +0100 Subject: [PATCH] Improve lint --- client/src/app/menu/menu.component.html | 2 +- client/tslint.json | 11 ++++++++--- 2 files changed, 9 insertions(+), 4 deletions(-) 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 } }