peter
5c29a383cf
chore(hygiene): Phase 4 guardrails — noUnusedLocals/Parameters + dead-code sweep
Enable tsconfig noUnusedLocals + noUnusedParameters (permanent guardrail: every tsc/
build now flags re-accumulated dead code). Fixed the 8 violations that surfaced, all
genuine dead code:
- Sidebar: deleted unused SORT_IDS/SHOW_IDS/rollSeed consts + the dead Toggle component
(+ its now-unused Switch import).
- PlexBrowse: dropped the unused onClearSearch prop (Props + destructure + App call site).
- VideoEditor: dropped the unused map index; notifications: deleted the dead back-compat
toast(); storage: deleted the unused non-account usePersistedState (+ readJSON import).
- SavedViewsWidget: deleted the dead loadDefaultViewFilters export (App loads the default
view inline; resolves the last knip unused-export → knip now clean).
Backend: added backend/ruff.toml (ignore E402 — intentional pre-import setup in main.py)
and fixed the 6 E702/E741 style items (_vtt_s_to_ts semicolons, ambiguous `l` loop vars)
so ruff is green. localdev boots; Feed/Plex/sidebar render; 0 console errors.
2026-07-12 02:15:52 +02:00
..
2026-07-11 04:47:08 +02:00
2026-07-11 04:47:08 +02:00
2026-07-11 20:16:14 +02:00
2026-06-29 00:24:49 +02:00
2026-07-11 17:10:15 +02:00
2026-07-11 20:16:14 +02:00
2026-07-11 04:47:08 +02:00
2026-07-11 23:10:24 +02:00
2026-07-02 01:45:16 +02:00
2026-07-01 14:27:41 +02:00
2026-07-11 04:47:08 +02:00
2026-07-11 04:47:08 +02:00
2026-07-03 01:52:58 +02:00
2026-07-12 02:15:52 +02:00
2026-07-11 04:47:08 +02:00
2026-07-05 03:29:20 +02:00
2026-07-11 03:10:02 +02:00
2026-07-11 03:50:34 +02:00
2026-07-11 04:47:08 +02:00
2026-07-12 02:15:52 +02:00
2026-06-26 03:30:19 +02:00
2026-07-11 04:47:08 +02:00
2026-07-11 04:47:08 +02:00
2026-06-29 02:19:18 +02:00
2026-06-29 00:11:44 +02:00
2026-06-19 02:43:46 +02:00
2026-06-15 21:52:28 +02:00
2026-06-26 03:30:19 +02:00
2026-07-11 18:11:23 +02:00