Improve lint

pull/159/head
Chocobozzz 2017-12-12 14:08:48 +01:00
parent b682782093
commit 4a7eeb62f1
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
2 changed files with 9 additions and 4 deletions

View File

@ -3,7 +3,7 @@
<img [src]="getUserAvatarPath()" alt="Avatar" /> <img [src]="getUserAvatarPath()" alt="Avatar" />
<div class="logged-in-info"> <div class="logged-in-info">
<a routerLink="/account/settings" class="logged-in-username">{{ user.username }}</a> <a routerLink="/account/settings" class="logged-in-username">{{ user.username }}</a>
<div class="logged-in-email">{{ user.email }}</div> <div class="logged-in-email">{{ user.email }}</div>
</div> </div>

View File

@ -13,22 +13,27 @@
"variables-before-functions" "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"], "directive-selector": [true, "attribute", "my", "camelCase"],
"component-selector": [true, "element", "my", "kebab-case"], "component-selector": [true, "element", "my", "kebab-case"],
"use-input-property-decorator": true, "use-input-property-decorator": true,
"use-output-property-decorator": true, "use-output-property-decorator": true,
"use-host-property-decorator": true, "use-host-property-decorator": true,
"use-view-encapsulation": true,
"no-attribute-parameter-decorator": true, "no-attribute-parameter-decorator": true,
"no-input-rename": true, "no-input-rename": true,
"no-output-rename": true, "no-output-rename": true,
"no-output-on-prefix": true,
"no-forward-ref": false, "no-forward-ref": false,
"use-life-cycle-interface": true, "use-life-cycle-interface": true,
"contextual-life-cycle": true,
"trackBy-function": false,
"use-pipe-transform-interface": true, "use-pipe-transform-interface": true,
"pipe-naming": [true, "camelCase", "my"], "pipe-naming": [true, "camelCase", "my"],
"component-class-suffix": true, "component-class-suffix": true,
"directive-class-suffix": true, "directive-class-suffix": true,
"templates-use-public": true, "pipe-impure": true
"no-access-missing-member": false,
"invoke-injectable": true
} }
} }