style: apply prettier across the tree

One-shot prettier pass so the new format:check gate starts from a clean
baseline. Formatting only — no behaviour change. Generator-owned and
vendored artifacts stay untouched via .prettierignore.
This commit is contained in:
Marc-André Bombeck committed 2026-06-19 22:20:31 +02:00
1 parent b3fea2ef59
commit 1f4ba5939d
1000 files changed
+12130 -8385

No files matched your search

@@ -94,7 +94,7 @@ describe("MeasurementList — filter bar + multi-select chrome", () => {
// The shared Checkbox primitive carries data-slot="checkbox".
const boxes = html.match(/data-slot="checkbox"/g);
// 1 header select-all + 2 selectable rows (desktop) + 2 rows (mobile).
expect((boxes?.length ?? 0)).toBeGreaterThanOrEqual(3);
expect(boxes?.length ?? 0).toBeGreaterThanOrEqual(3);
expect(html).toContain('aria-label="Select all on this page"');
expect(html).toContain('aria-label="Select row"');
});
@@ -30,10 +30,7 @@ const collapsed = [
// triggers).
vi.mock("@tanstack/react-query", () => ({
useQuery: ({ queryKey }: { queryKey: unknown[] }) => {
if (
Array.isArray(queryKey) &&
queryKey[0] === "measurement-drilldown"
) {
if (Array.isArray(queryKey) && queryKey[0] === "measurement-drilldown") {
return { data: undefined, isLoading: false };
}
return {
@@ -1515,7 +1515,9 @@ function DayDrillDown({
params.set("type", type);
params.set("dayKey", dayKey);
params.set("sortDir", "asc");
return apiGet<{ measurements: Measurement[] }>(`/api/measurements?${params}`);
return apiGet<{ measurements: Measurement[] }>(
`/api/measurements?${params}`,
);
},
enabled: isAuthenticated,
// The drill-down is per-day — once fetched it rarely needs to