aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2017-12-12 14:08:48 +0100
committerChocobozzz <me@florianbigard.com>2017-12-12 14:08:48 +0100
commit4a7eeb62f1364678fff28fef4a83a0e9b640017c (patch)
treef4983d7d10b60d8c1bd815e9eab8178180aba863
parentb682782093a22a729eea8862476ff1c8aac4ef0c (diff)
downloadPeerTube-4a7eeb62f1364678fff28fef4a83a0e9b640017c.tar.gz
PeerTube-4a7eeb62f1364678fff28fef4a83a0e9b640017c.tar.zst
PeerTube-4a7eeb62f1364678fff28fef4a83a0e9b640017c.zip
Improve lint
-rw-r--r--client/src/app/menu/menu.component.html2
-rw-r--r--client/tslint.json11
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 @@
3 <img [src]="getUserAvatarPath()" alt="Avatar" /> 3 <img [src]="getUserAvatarPath()" alt="Avatar" />
4 4
5 <div class="logged-in-info"> 5 <div class="logged-in-info">
6 <a routerLink="/account/settings" class="logged-in-username">{{ user.username }}</a> 6 <a routerLink="/account/settings" class="logged-in-username">{{ user.username }}</a>
7 <div class="logged-in-email">{{ user.email }}</div> 7 <div class="logged-in-email">{{ user.email }}</div>
8 </div> 8 </div>
9 9
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 @@
13 "variables-before-functions" 13 "variables-before-functions"
14 ], 14 ],
15 15
16 "angular-whitespace": [true, "check-interpolation", "check-semicolon"],
17 "banana-in-box": true,
18 "templates-no-negated-async": true,
16 "directive-selector": [true, "attribute", "my", "camelCase"], 19 "directive-selector": [true, "attribute", "my", "camelCase"],
17 "component-selector": [true, "element", "my", "kebab-case"], 20 "component-selector": [true, "element", "my", "kebab-case"],
18 "use-input-property-decorator": true, 21 "use-input-property-decorator": true,
19 "use-output-property-decorator": true, 22 "use-output-property-decorator": true,
20 "use-host-property-decorator": true, 23 "use-host-property-decorator": true,
24 "use-view-encapsulation": true,
21 "no-attribute-parameter-decorator": true, 25 "no-attribute-parameter-decorator": true,
22 "no-input-rename": true, 26 "no-input-rename": true,
23 "no-output-rename": true, 27 "no-output-rename": true,
28 "no-output-on-prefix": true,
24 "no-forward-ref": false, 29 "no-forward-ref": false,
25 "use-life-cycle-interface": true, 30 "use-life-cycle-interface": true,
31 "contextual-life-cycle": true,
32 "trackBy-function": false,
26 "use-pipe-transform-interface": true, 33 "use-pipe-transform-interface": true,
27 "pipe-naming": [true, "camelCase", "my"], 34 "pipe-naming": [true, "camelCase", "my"],
28 "component-class-suffix": true, 35 "component-class-suffix": true,
29 "directive-class-suffix": true, 36 "directive-class-suffix": true,
30 "templates-use-public": true, 37 "pipe-impure": true
31 "no-access-missing-member": false,
32 "invoke-injectable": true
33 } 38 }
34} 39}