A line is longer than the configured maximum
What it finds
Very long lines are hard to read and to compare in reviews. The maximum is the parameter max, 200 characters by default; lines of data, such as long INSERT value lists, count too, but only the first long line of a file is reported.
From the rule's source, line_length.rs.
Turn it on, off or suppress it
The rule runs from the strict tier up. To turn it on in a lower tier, give it a level in tx0.toml:
[rules]
"tx0/sql:line-length" = "warning"To keep one finding, suppress it with a reason: tx0 suppress ID --reason "..." writes the comment for it.
tx0 explain tx0/sql:line-length shows the same in the terminal. Found a false positive? Report it.