Skip to content

latent.lint.rules.lt004

LT004 — One finding per occurrence; format_text is what collapses repeats.

Functions

lt004

lt004(ctx: RuleContext) -> Iterator[tuple[int, str]]

One finding per occurrence; format_text is what collapses repeats.

Annotations, hook-exec and the ratchet all key on the location, so the grouping is a display concern and lives in the renderer.