Update lint rules (#9563)

Updated deps

Added `unused-imports`, prefer arrow, and import order
This commit is contained in:
Bram Kragten
2021-07-15 12:08:04 +02:00
committed by GitHub
parent 12f7366968
commit e797c01761
177 changed files with 1122 additions and 1146 deletions

View File

@@ -43,9 +43,9 @@ export class HaFileUpload extends LitElement {
protected updated(changedProperties: PropertyValues) {
if (changedProperties.has("_drag") && !this.uploading) {
(this.shadowRoot!.querySelector(
"paper-input-container"
) as any)._setFocused(this._drag);
(
this.shadowRoot!.querySelector("paper-input-container") as any
)._setFocused(this._drag);
}
}