chore: migrate to oxlint and oxfmt
Co-authored-by: Christoph Nakazawa <christoph.pojer@gmail.com>
This commit is contained in:
@@ -40,14 +40,10 @@ 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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user