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

@@ -64,9 +64,7 @@ export type GatewayService = {
environment?: Record<string, string>;
sourcePath?: string;
} | null>;
readRuntime: (
env: Record<string, string | undefined>,
) => Promise<GatewayServiceRuntime>;
readRuntime: (env: Record<string, string | undefined>) => Promise<GatewayServiceRuntime>;
};
export function resolveGatewayService(): GatewayService {
@@ -95,8 +93,7 @@ export function resolveGatewayService(): GatewayService {
env: args.env,
});
},
isLoaded: async (args) =>
isLaunchAgentLoaded({ profile: args.profile, env: args.env }),
isLoaded: async (args) => isLaunchAgentLoaded({ profile: args.profile, env: args.env }),
readCommand: readLaunchAgentProgramArguments,
readRuntime: readLaunchAgentRuntime,
};
@@ -127,8 +124,7 @@ export function resolveGatewayService(): GatewayService {
env: args.env,
});
},
isLoaded: async (args) =>
isSystemdServiceEnabled({ profile: args.profile, env: args.env }),
isLoaded: async (args) => isSystemdServiceEnabled({ profile: args.profile, env: args.env }),
readCommand: readSystemdServiceExecStart,
readRuntime: async (env) => await readSystemdServiceRuntime(env),
};
@@ -163,7 +159,5 @@ export function resolveGatewayService(): GatewayService {
};
}
throw new Error(
`Gateway service install not supported on ${process.platform}`,
);
throw new Error(`Gateway service install not supported on ${process.platform}`);
}