style: fix linting order and formatting
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
import { createServer } from "node:net";
|
import { createServer } from "node:net";
|
||||||
import { describe, expect, test } from "vitest";
|
import { describe, expect, test } from "vitest";
|
||||||
import { GatewayLockError } from "../infra/gateway-lock.js";
|
|
||||||
import { resolveCanvasHostUrl } from "../infra/canvas-host-url.js";
|
import { resolveCanvasHostUrl } from "../infra/canvas-host-url.js";
|
||||||
|
import { GatewayLockError } from "../infra/gateway-lock.js";
|
||||||
import {
|
import {
|
||||||
connectOk,
|
connectOk,
|
||||||
getFreePort,
|
getFreePort,
|
||||||
|
|||||||
@@ -13,7 +13,10 @@ type QRCodeConstructor = new (
|
|||||||
};
|
};
|
||||||
|
|
||||||
const QRCode = QRCodeModule as unknown as QRCodeConstructor;
|
const QRCode = QRCodeModule as unknown as QRCodeConstructor;
|
||||||
const QRErrorCorrectLevel = QRErrorCorrectLevelModule as Record<string, unknown>;
|
const QRErrorCorrectLevel = QRErrorCorrectLevelModule as Record<
|
||||||
|
string,
|
||||||
|
unknown
|
||||||
|
>;
|
||||||
|
|
||||||
function createQrMatrix(input: string) {
|
function createQrMatrix(input: string) {
|
||||||
const qr = new QRCode(-1, QRErrorCorrectLevel.L);
|
const qr = new QRCode(-1, QRErrorCorrectLevel.L);
|
||||||
|
|||||||
Reference in New Issue
Block a user