https://kotlinlang.org logo
#ktlint
Title
# ktlint
a

Alex

06/15/2021, 3:02 PM
Is there a way to deactivate the max-line-length check for a specific line (via annotation perhaps)?
s

Sha Sha Chu

06/15/2021, 3:03 PM
I think a ktlint-disable comment should work, although I haven't tested it myself
There's details in the readme
I haven't tested disabling the max line check via the comment, that is. In general the directive works
a

Alex

06/15/2021, 3:06 PM
thank you, this might be the way to go then!
9 Views