mirror of
https://github.com/bitbaum/vitareba.git
synced 2026-12-04 05:37:46 +01:00
Three small guards, one theme: a rule the repo already follows should be enforced rather than remembered. - `pnpm run lint` now runs with `--max-warnings 0`, so a warning fails the build instead of accumulating. The one outstanding warning is fixed first: /api/calendar/subscribe took a `Request` it deliberately never reads (the whole point of that route is that nothing on the request may decide where a calendar token is sent), so the parameter is gone and the comment says why. - ESLint `no-console`, allowing `warn` and `error` — those are how a degraded state reaches the systemd journal on the box. The two existing `console.log` calls are genuine operator output (email provider unconfigured; orphaned files deleted) and move to `console.warn`, which is where an operator looks. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012KAn51JHFcTrPeCjZDGXM8