Skip to content

Commit

Permalink
code style
Browse files Browse the repository at this point in the history
  • Loading branch information
skoszuta committed Dec 13, 2024
1 parent 5fbe95f commit 7ea05ef
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 11 deletions.
5 changes: 1 addition & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
10 changes: 5 additions & 5 deletions tools/links-check/index.ts
Original file line number Diff line number Diff line change
@@ -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}`);
Expand Down
4 changes: 2 additions & 2 deletions tools/links-check/migrate.ts
Original file line number Diff line number Diff line change
@@ -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<boolean> {
const rl = readline.createInterface({
Expand Down

0 comments on commit 7ea05ef

Please sign in to comment.