style(sandbox): fix linting errors

- Remove unused normalizeOptions function
- Fix line length violations (format long lines)
- Fix import order (alphabetical)
- Format function signatures for readability

All lint checks now passing.
This commit is contained in:
sheeek
2026-01-09 10:13:00 +01:00
committed by Peter Steinberger
parent b0c97d6178
commit 7f02b62bba
5 changed files with 75 additions and 33 deletions

View File

@@ -58,7 +58,10 @@ Modifiers:
};
function createRunner(
commandFn: (opts: CommandOptions, runtime: typeof defaultRuntime) => Promise<void>,
commandFn: (
opts: CommandOptions,
runtime: typeof defaultRuntime,
) => Promise<void>,
) {
return async (opts: CommandOptions) => {
try {
@@ -70,14 +73,6 @@ function createRunner(
};
}
function normalizeOptions(opts: CommandOptions): CommandOptions {
const normalized: CommandOptions = {};
for (const [key, value] of Object.entries(opts)) {
normalized[key] = typeof value === "boolean" ? value : value;
}
return normalized;
}
// --- Registration ---
export function registerSandboxCli(program: Command) {