1
0
mirror of https://github.com/home-assistant/frontend.git synced 2025-12-24 12:49:19 +00:00

Update typescript, prettier, tslint -> eslint (#5536)

* Update typescript, prettier, tslint -> eslint

* Organize imports

* Use glob for eslint fix react import
This commit is contained in:
Bram Kragten
2020-04-14 18:05:45 +02:00
committed by GitHub
parent b17490f0de
commit 82f80db558
737 changed files with 9408 additions and 7414 deletions

View File

@@ -1,19 +1,17 @@
import "@material/mwc-button";
import {
LitElement,
query,
property,
TemplateResult,
html,
css,
CSSResult,
html,
LitElement,
property,
query,
TemplateResult,
} from "lit-element";
import { computeRTL } from "../common/util/compute_rtl";
import { HomeAssistant } from "../types";
import "@material/mwc-button";
import "../components/ha-toast";
// Typing
// tslint:disable-next-line: no-duplicate-imports
import { HaToast } from "../components/ha-toast";
import type { HaToast } from "../components/ha-toast";
import type { HomeAssistant } from "../types";
export interface ShowToastParams {
message: string;
@@ -31,7 +29,8 @@ class NotificationManager extends LitElement {
@property() public hass!: HomeAssistant;
@property() private _action?: ToastActionParams;
@property() private _noCancelOnOutsideClick: boolean = false;
@property() private _noCancelOnOutsideClick = false;
@query("ha-toast") private _toast!: HaToast;