From 7ea05ef943b816f4434a39d92802d105933859c6 Mon Sep 17 00:00:00 2001 From: Sebastian Koszuta Date: Fri, 13 Dec 2024 13:52:30 +0100 Subject: [PATCH] code style --- package.json | 5 +---- tools/links-check/index.ts | 10 +++++----- tools/links-check/migrate.ts | 4 ++-- 3 files changed, 8 insertions(+), 11 deletions(-) diff --git a/package.json b/package.json index bda5266..7f944b6 100644 --- a/package.json +++ b/package.json @@ -3,10 +3,7 @@ "private": true, "version": "0.0.0", "type": "module", - "workspaces": [ - "tools/*", - "packages/*" - ], + "workspaces": ["tools/*", "packages/*"], "scripts": { "qa": "biome ci", "qa-fix": "npm run format; npm run lint", diff --git a/tools/links-check/index.ts b/tools/links-check/index.ts index 98f088e..2cf2a05 100755 --- a/tools/links-check/index.ts +++ b/tools/links-check/index.ts @@ -1,11 +1,11 @@ -import { fetchMetadata } from "./metadata"; -import { type Report, printReport } from "./report"; -import { getCommonPath, scan } from "./scan"; import * as fs from "node:fs"; import * as path from "node:path"; -import ignore from "ignore"; import fg from "fast-glob"; -import { promptUserForMigration, performMigrations } from "./migrate"; +import ignore from "ignore"; +import { fetchMetadata } from "./metadata"; +import { performMigrations, promptUserForMigration } from "./migrate"; +import { type Report, printReport } from "./report"; +import { getCommonPath, scan } from "./scan"; main().catch((err: unknown) => { console.error(`🚨 ${err}`); diff --git a/tools/links-check/migrate.ts b/tools/links-check/migrate.ts index 8d58ea2..f6f997a 100644 --- a/tools/links-check/migrate.ts +++ b/tools/links-check/migrate.ts @@ -1,7 +1,7 @@ -import type { Report } from "./report"; -import * as readline from "node:readline"; import * as fs from "node:fs"; import * as path from "node:path"; +import * as readline from "node:readline"; +import type { Report } from "./report"; export async function promptUserForMigration(): Promise { const rl = readline.createInterface({