Maybe the simplest solution would be to change the line length rule to trim trailing `\r`s before checking the length. I also rely mostly on the test suite, but something seemed off here.