mirror of https://github.com/Chocobozzz/PeerTube
Improve lint
parent
b682782093
commit
4a7eeb62f1
|
@ -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>
|
||||||
|
|
||||||
|
|
|
@ -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
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue