Switch to double quotes and reformat codebase with Biome

This commit is contained in:
Mohamed Boudra
2026-03-21 20:22:15 +07:00
parent ab40786882
commit f6579dbeb4
805 changed files with 38132 additions and 40175 deletions
+4 -4
View File
@@ -25,7 +25,7 @@ interface PaneCandidate {
export function findAdjacentPane(
root: SplitNode,
focusedPaneId: string,
direction: "left" | "right" | "up" | "down"
direction: "left" | "right" | "up" | "down",
): string | null {
const panes = collectPaneBounds(root, {
left: ROOT_MIN,
@@ -168,7 +168,7 @@ function buildCandidate(input: {
function collectPaneBounds(
node: SplitNode,
bounds: { left: number; top: number; right: number; bottom: number }
bounds: { left: number; top: number; right: number; bottom: number },
): PaneBounds[] {
if (node.kind === "pane") {
return [
@@ -203,7 +203,7 @@ function collectPaneBounds(
top: bounds.top,
right: childRight,
bottom: bounds.bottom,
})
}),
);
continue;
}
@@ -217,7 +217,7 @@ function collectPaneBounds(
top: childTop,
right: bounds.right,
bottom: childBottom,
})
}),
);
}