ReadonlycategoryCoarse category for back-compat dashboards.
ReadonlycolumnReadonlyfileReadonlylineReadonlyruleStable rule ID from docs/migration/RULE_CATALOGUE.md.
ReadonlyseverityCatalogue severity — drives CLI exit code.
ReadonlysuggestionSuggested migration: which docs page, which pattern.
ReadonlytokenA short token from the source — the import name, hook name, etc.
Single migration-drift finding emitted by scanFile.
Remarks
The shape carries everything a downstream dashboard or pre-commit gate needs to render an actionable diagnostic: the catalogue-stable
ruleId, the file/line/column triple, the matched source token, and the human-facingsuggestionthat points to the corresponding RULE_CATALOGUE.md row.severitydrives the CLI exit code viaseverityToExitCode.