Join Slack
Communities
Powered by
Is there a way to deactivate the max-line-length c...
# 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
Sha Sha Chu
06/15/2021, 3:04 PM
There's details in the readme
Sha Sha Chu
06/15/2021, 3:04 PM
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
Open in Slack
Previous
Next