- 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> |
||
|---|---|---|
| .. | ||
| components | ||
| contexts | ||
| hooks | ||
| lib | ||
| pages | ||
| public | ||
| App.tsx | ||
| api.sessionExpiry.test.ts | ||
| api.ts | ||
| index.css | ||
| main.tsx | ||
| types.ts | ||