A line is longer than the configured number of characters

tx0/c:long-lineallwarningstyle/formattingdepth faststyle

What it finds

A line longer than the parameter max characters, 120 by default, has to be scrolled or wrapped to be read, and side-by-side diffs cut it. Characters are counted, not bytes, and a tab counts as one; lines that are only a string literal or a comment with a link are counted like any other. A file is reported once, at its first long line, with the number of long lines it has, so that a generated table does not bury other findings.

From the rule's source, long_line.rs.

Turn it on, off or suppress it

The rule runs from the all tier up. To turn it on in a lower tier, give it a level in tx0.toml:

tx0.toml
[rules]
"tx0/c:long-line" = "warning"

To keep one finding, suppress it with a reason. tx0 suppress ID --reason "..." writes the comment on the line before the code:

// tx0: ignore[tx0/c:long-line] reason="..."

tx0 explain tx0/c:long-line shows the same in the terminal. Found a false positive? Report it.