Closed paul-dingemans closed 8 months ago
Version: 0.20.0-beta-4
0.20.0-beta-4
Given code below, in which the string is just one character too long to fit the statement on a single line:
fun foo() { bar( "Too longgggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggg", ) }
Suppressing the max-line-length in dialog above, result in erroneous code below:
max-line-length
fun foo() { bar("@Suppress("ktlint:standard:max-line-length") Too longgggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggg" ) }
This will be fixed by #403 but can not be resolved before ktlint 1.1.x has been released.
1.1.x
Version:
0.20.0-beta-4
Given code below, in which the string is just one character too long to fit the statement on a single line:
Suppressing the
max-line-length
in dialog above, result in erroneous code below: