Overview
The backend uses @ts-ignore extensively — backend/src/index.ts alone has ~20 of them (imports of services, middleware, and route modules), with more in routes/assignmentRoutes.ts, routes/smartWalletRoutes.ts, routes/secureCommRoutes.ts, middleware/upload.ts, and elsewhere. Many suppress missing module errors (// @ts-ignore - controller module not yet implemented), which is exactly how dead routes (vrf, cross-protocol-bridge) got past CI. @ts-ignore hides real type errors and makes the type checker a no-op for whole files.
Evidence
backend/src/index.ts — ~20 @ts-ignore (lines 30–112)
backend/src/routes/assignmentRoutes.ts — 9 @ts-ignore
backend/src/routes/smartWalletRoutes.ts — 8 @ts-ignore
Acceptance Criteria
Files to Modify
backend/src/index.ts
backend/src/routes/*
backend/.eslintrc.json
Priority: Medium
Overview
The backend uses
@ts-ignoreextensively —backend/src/index.tsalone has ~20 of them (imports of services, middleware, and route modules), with more inroutes/assignmentRoutes.ts,routes/smartWalletRoutes.ts,routes/secureCommRoutes.ts,middleware/upload.ts, and elsewhere. Many suppress missing module errors (// @ts-ignore - controller module not yet implemented), which is exactly how dead routes (vrf, cross-protocol-bridge) got past CI.@ts-ignorehides real type errors and makes the type checker a no-op for whole files.Evidence
backend/src/index.ts— ~20@ts-ignore(lines 30–112)backend/src/routes/assignmentRoutes.ts— 9@ts-ignorebackend/src/routes/smartWalletRoutes.ts— 8@ts-ignoreAcceptance Criteria
@ts-ignorewith real types; where a module is genuinely missing, create it (not suppress it)@typescript-eslint/ban-ts-comment) that fails CI on new@ts-ignoreFiles to Modify
backend/src/index.tsbackend/src/routes/*backend/.eslintrc.jsonPriority: Medium