A line is longer than the configured maximum

tx0/kotlin:long-lineallwarningstyle/formattingdepth faststyle

What it finds

Long lines have to be scrolled or wrapped to be read, and make side-by-side diffs hard. Lines of imports and the package header, and lines that hold a URL, are left out. The maximum is the parameter max, 120 characters by default.

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/kotlin: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/kotlin:long-line] reason="..."

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