Skip to content

latent.lint.rules.lt014

LT014 — Report machinery in a dir the lockfile never gates.

Functions

lt014

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

Report machinery in a dir the lockfile never gates.

Silent when the dir declares no @flow literal, because then there is no section name to demand. Falling back to the dir name made the rule unsatisfiable for a script that calls a pre-built flow: the run registers under the callee's name, so latent thresholds init writes that section while the finding keeps asking for one named after the directory.