BillTracker/client
null 68ca7cbb43 feat(standards): enforcement ratchets — error-shape + no-console; client toApiError
- eslint: no-console error on all server dirs (sanctioned exceptions:
  utils/logger.cts sink, utils/env.cts bootstrap, utils/apiError.cts
  fallback); no-restricted-imports bans errorFormatter in routes/** so
  hand-rolled standardizeError bodies can't return (transactions/import
  are the two documented exception files)
- client/api.ts: 6 copy-pasted ApiError constructions collapsed into one
  toApiError() helper
- CODE_STANDARDS.md: 'Error responses' and 'Logging' flipped target ->
  ENFORCED, with the full documented-exceptions list and the client
  error-shape/mutation-pattern conventions written down

Lint 0 errors, client 52/52, typecheck clean.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-10 17:20:42 -05:00
..
components style: apply Prettier across client + server (no behavior change) 2026-07-06 14:23:53 -05:00
contexts style: apply Prettier across client + server (no behavior change) 2026-07-06 14:23:53 -05:00
hooks fix(client): redirect to login when the session expires mid-use 2026-07-10 16:33:01 -05:00
lib style: apply Prettier across client + server (no behavior change) 2026-07-06 14:23:53 -05:00
pages style: apply Prettier across client + server (no behavior change) 2026-07-06 14:23:53 -05:00
public Add complete brand asset pack 2026-07-06 12:54:29 -05:00
App.tsx style: apply Prettier across client + server (no behavior change) 2026-07-06 14:23:53 -05:00
api.sessionExpiry.test.ts fix(client): redirect to login when the session expires mid-use 2026-07-10 16:33:01 -05:00
api.ts feat(standards): enforcement ratchets — error-shape + no-console; client toApiError 2026-07-10 17:20:42 -05:00
index.css style: apply Prettier across client + server (no behavior change) 2026-07-06 14:23:53 -05:00
main.tsx style: apply Prettier across client + server (no behavior change) 2026-07-06 14:23:53 -05:00
types.ts style: apply Prettier across client + server (no behavior change) 2026-07-06 14:23:53 -05:00