fleetlint Policy for a fleet of repositories
v0.3
Getting started

slop/todo-without-issue

TODOs reference an issue

Severityinfo
Tiersall
Stacksany
Scoperoot
Kindexpr
Sourcelibrary v0.0.0-20261011205826-ecb4e9b3ffd4
Selected byfleetlint-slop@0.1.0

Requirement

Every TODO, FIXME, XXX or HACK comment names an issue: TODO(#123) or TODO(ABC-123).

Why

An untracked TODO is a wish; a tracked one has an owner and can be closed.

Check

For each item in:

codegrep("code", r'(//|#|/\*).*\b(TODO|FIXME|XXX|HACK)\b')
item.text.matches(r'\b(TODO|FIXME|XXX|HACK)\b\s*\((#|[A-Z][A-Z0-9]+-)\d+\)')

Fix

Open an issue and reference it, or do the work, or delete the note.

Agent instruction: Report each note; do not invent issue numbers.

See: https://fleetlint.org/baseline/#slop


Generated by fleetlint docs from catalog v0.0.0-20261011205826-ecb4e9b3ffd4.