Files
crewli/apps
bert.hausmans f4e0de0e4e fix(app): set indent SwitchCase to 1
WS-3 session 1b-iii Task 1.

Codebase consistently uses SwitchCase: 1 (cases indented 2 spaces from
switch keyword), but the eslint rule was running with default
SwitchCase: 0 (cases at the same column as switch). This produced 24
unfixable indent items in useTimeSlotDropdown.ts (and 0 in other
files because they didn't have switch statements with this pattern).

Resolution: pass { SwitchCase: 1 } to the indent rule's options so
its expectation matches the codebase reality. The autofix would
reformat the codebase to match the default if SwitchCase: 0 were
correct, but our codebase deliberately uses 1 — this is the
zero-compromise path, no codebase rewrite needed.

Lint baseline: 32 → 6 (Task 1 alone).

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-04-29 18:44:35 +02:00
..
2026-04-29 18:44:35 +02:00