/** * Pass #36: todo-in-prod (category: maintainability) * * Flags TODO, FIXME, HACK, and XXX comments in production code. These markers * signal deferred work or known defects that were never resolved. In production * code they represent acknowledged technical debt. * * Test files are excluded entirely: TODO comments in test helpers or test * setup code are expected and noise-free. * * Detection: line-by-line regex scan on the raw source text. A marker must * appear in a comment context (after `//`, `#`, `--`, or inside `/* ... *\/`). * Markers inside string literals are not flagged. */ import type { AnalysisPass, PassContext } from '../../graph/analysis-pass.js'; export interface TodoInProdPassResult { /** Lines containing TODO/FIXME/HACK/XXX markers in production code. */ markerLines: Array<{ line: number; marker: string; text: string; }>; } export declare class TodoInProdPass implements AnalysisPass { readonly name = "todo-in-prod"; readonly category: "maintainability"; run(ctx: PassContext): TodoInProdPassResult; } //# sourceMappingURL=todo-in-prod-pass.d.ts.map