/** * @fileoverview Directive Inventory - shared parsing logic for * fitness-ignore directives. */ /** A single fitness-ignore directive found in a source file. */ export interface DirectiveEntry { filePath: string; lineNumber: number; type: 'file' | 'next-line'; checkId: string; group: string; reason: string | null; weakReason: boolean; } /** * Parse a file-level or next-line directive from a comment line. * * Accepts every comment opener the suppression parser supports * (`//`, `/*`, `