chore: migrate to oxlint and oxfmt

Co-authored-by: Christoph Nakazawa <christoph.pojer@gmail.com>
This commit is contained in:
Peter Steinberger
2026-01-14 14:31:43 +00:00
parent 912ebffc63
commit c379191f80
1480 changed files with 28608 additions and 43547 deletions

View File

@@ -18,9 +18,7 @@ export function formatBonjourInstanceName(displayName: string) {
return `${trimmed} (Clawdbot)`;
}
export function resolveBonjourCliPath(
opts: ResolveBonjourCliPathOptions = {},
): string | undefined {
export function resolveBonjourCliPath(opts: ResolveBonjourCliPathOptions = {}): string | undefined {
const env = opts.env ?? process.env;
const envPath = env.CLAWDBOT_CLI_PATH?.trim();
if (envPath) return envPath;
@@ -65,8 +63,7 @@ export async function resolveTailnetDnsHint(opts?: {
const exec =
opts?.exec ??
((command, args) =>
runExec(command, args, { timeoutMs: 1500, maxBuffer: 200_000 }));
((command, args) => runExec(command, args, { timeoutMs: 1500, maxBuffer: 200_000 }));
try {
return await getTailnetHostname(exec);
} catch {