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

@@ -40,10 +40,14 @@ export type ContainerItem = {
lastUsedAtMs: number;
};
export function countRunning<T extends { running: boolean }>(items: T[]): number {
export function countRunning<T extends { running: boolean }>(
items: T[],
): number {
return items.filter((item) => item.running).length;
}
export function countMismatches<T extends { imageMatch: boolean }>(items: T[]): number {
export function countMismatches<T extends { imageMatch: boolean }>(
items: T[],
): number {
return items.filter((item) => !item.imageMatch).length;
}