From d92a9e351e27f209620cafbc75afc341f895e5b8 Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Mon, 5 Jan 2026 02:33:59 +0100 Subject: [PATCH] style: fix linting order and formatting --- src/gateway/server.misc.test.ts | 2 +- src/web/qr-image.ts | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/gateway/server.misc.test.ts b/src/gateway/server.misc.test.ts index 830928333..7e7129970 100644 --- a/src/gateway/server.misc.test.ts +++ b/src/gateway/server.misc.test.ts @@ -1,7 +1,7 @@ import { createServer } from "node:net"; import { describe, expect, test } from "vitest"; -import { GatewayLockError } from "../infra/gateway-lock.js"; import { resolveCanvasHostUrl } from "../infra/canvas-host-url.js"; +import { GatewayLockError } from "../infra/gateway-lock.js"; import { connectOk, getFreePort, diff --git a/src/web/qr-image.ts b/src/web/qr-image.ts index 14aa25244..88ca1e536 100644 --- a/src/web/qr-image.ts +++ b/src/web/qr-image.ts @@ -13,7 +13,10 @@ type QRCodeConstructor = new ( }; const QRCode = QRCodeModule as unknown as QRCodeConstructor; -const QRErrorCorrectLevel = QRErrorCorrectLevelModule as Record; +const QRErrorCorrectLevel = QRErrorCorrectLevelModule as Record< + string, + unknown +>; function createQrMatrix(input: string) { const qr = new QRCode(-1, QRErrorCorrectLevel.L);