diff --git a/ui/src/context.ts b/ui/src/context.ts index 54a634c..e1dbb5f 100644 --- a/ui/src/context.ts +++ b/ui/src/context.ts @@ -1,6 +1,7 @@ -import { createContext } from "@lit/context"; -import { LinkedDevicesStore } from "./linked-devices-store.js"; +import { createContext } from '@lit/context'; + +import { LinkedDevicesStore } from './linked-devices-store.js'; export const linkedDevicesStoreContext = createContext( - "linked_devices/store", + 'linked_devices/store', ); diff --git a/ui/src/elements/link-devices-recipient.ts b/ui/src/elements/link-devices-recipient.ts index 1cbd7bc..e60d38d 100644 --- a/ui/src/elements/link-devices-recipient.ts +++ b/ui/src/elements/link-devices-recipient.ts @@ -52,6 +52,7 @@ export class LinkDevicesRecipient extends SignalWatcher(LitElement) { /** * @internal */ + // eslint-disable-next-line @typescript-eslint/no-explicit-any interval: any; async firstUpdated() { diff --git a/ui/src/elements/link-devices-requestor.ts b/ui/src/elements/link-devices-requestor.ts index 8603775..bcd6280 100644 --- a/ui/src/elements/link-devices-requestor.ts +++ b/ui/src/elements/link-devices-requestor.ts @@ -53,6 +53,7 @@ export class LinkDevicesRequestor extends SignalWatcher(LitElement) { /** * @internal */ + // eslint-disable-next-line @typescript-eslint/no-explicit-any interval: any; async firstUpdated() { @@ -117,6 +118,7 @@ export class LinkDevicesRequestor extends SignalWatcher(LitElement) { await this.store.client.prepareLinkDevices(this.requestorpasscode); }, TTL_CAP_GRANT); this.successfulRecipient = linkingAgent; + // eslint-disable-next-line @typescript-eslint/no-explicit-any } catch (e: any) { console.error(e); if (e.toString().includes('Unauthorized')) { diff --git a/ui/src/elements/linked-devices-context.ts b/ui/src/elements/linked-devices-context.ts index ea96613..f0854dd 100644 --- a/ui/src/elements/linked-devices-context.ts +++ b/ui/src/elements/linked-devices-context.ts @@ -1,23 +1,23 @@ -import { provide } from "@lit/context"; -import { css, html, LitElement } from "lit"; -import { customElement, property } from "lit/decorators.js"; +import { provide } from '@lit/context'; +import { LitElement, css, html } from 'lit'; +import { customElement, property } from 'lit/decorators.js'; -import { linkedDevicesStoreContext } from "../context.js"; -import { LinkedDevicesStore } from "../linked-devices-store.js"; +import { linkedDevicesStoreContext } from '../context.js'; +import { LinkedDevicesStore } from '../linked-devices-store.js'; -@customElement("linked-devices-context") +@customElement('linked-devices-context') export class LinkedDevicesContext extends LitElement { - @provide({ context: linkedDevicesStoreContext }) - @property({ type: Object }) - store!: LinkedDevicesStore; + @provide({ context: linkedDevicesStoreContext }) + @property({ type: Object }) + store!: LinkedDevicesStore; - render() { - return html``; - } + render() { + return html``; + } - static styles = css` - :host { - display: contents; - } - `; + static styles = css` + :host { + display: contents; + } + `; } diff --git a/ui/src/index.ts b/ui/src/index.ts index ec7223e..825dca7 100644 --- a/ui/src/index.ts +++ b/ui/src/index.ts @@ -1,4 +1,4 @@ -export * from "./context.js"; -export * from "./linked-devices-client.js"; -export * from "./linked-devices-store.js"; -export * from "./types.js"; +export * from './context.js'; +export * from './linked-devices-client.js'; +export * from './linked-devices-store.js'; +export * from './types.js';