redline
LowAI tellstodo-marker

TODO left in

TODO left in. A TODO left in the change. Do it now, file it, or delete it.

This is how the comment reads inline, under the flagged line.

Why it matters

TODOs are where reviews hide unfinished work. They rarely get done and nobody owns them.

What to do

Finish the work in this change, or open an issue and link it.

Examples

Flagged
// TODO: handle errors
const r = await send();
Better
const r = await send(); // errors propagate to the caller

What it catches

It reads a pattern on each line, aware of strings and comments. Languages: Any file. Scope: All files. These cases are the rule's own tests: the first set must be flagged and the second must not.

Flagged

// TODO: fix later
src/app.py
# FIXME broken

Left alone

const todo = "TODO";
// Todos load from the API.

Research

TODO, FIXME, XXX and HACK left in. A note nobody owns is never done.

Turn it off or change it

In a config file for the CLI, or in the API's rules field:

{
  "rules": {
    "disable": [
      "todo-marker"
    ],
    "severity": {
      "todo-marker": "medium"
    }
  }
}

Read the source or report a false positive.