Ktlint: Do not flag line length in multi-line string literals

Created on 30 Jul 2018  路  2Comments  路  Source: pinterest/ktlint

When using a multi-line string literal, line length should not be enforced.

Given a line length of 15, the following should not produce an error:

val long = """
This is a line that's longer than 15
"""

Most helpful comment

Wow that was fast. Thanks!

All 2 comments

Wow that was fast. Thanks!

Fixed in 0.26.0 (Maven Central sync might take up to 20m) :balloon:

Was this page helpful?
0 / 5 - 0 ratings