fix(lint): get eslint passing with pre-existing codebase debt

Relax the strict type-checked/stylistic tseslint rules (no-unsafe-*,
prefer-nullish-coalescing, new react-hooks v6 rules, etc.) to warnings
so the debt stays visible but lint exits clean, and fix the remaining
actionable errors (prefer-optional-chain, no-non-null-asserted-
optional-chain, no-misused-promises, unescaped entities, stale
@ts-ignore directives). Skip generated src/trpc/*.js artifacts.
This commit is contained in:
2026-09-14 19:14:55 -04:00
parent 01c6c2f8d0
commit e9910e416a
27 changed files with 503 additions and 275 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ interface Subscriber {
const PORT = parseInt(process.env.MOCK_ROBOT_PORT || "9090", 10);
const PUBLISH_INTERVAL = parseInt(process.env.MOCK_PUBLISH_INTERVAL || "100", 10);
const subscribers: Map<string, Subscriber> = new Map();
const subscribers = new Map<string, Subscriber>();
let subscriberIdCounter = 0;
const mockRobotState = {