pinterest / ktlint

An anti-bikeshedding Kotlin linter with built-in formatter
https://pinterest.github.io/ktlint/
MIT License
6.19k stars 505 forks source link

Break dependency between string-template-indent and multiline-expression-wrapping #2505

Closed paul-dingemans closed 8 months ago

paul-dingemans commented 8 months ago

Description

Break dependency between string-template-indent and multiline-expression-wrapping

If need be, the string-template-indent rule wraps the opening quotes of a multiline raw string literal to a new line. The string-template-indent can now be enabled regardless whether multiline-expression-wrapping is enabled.

Closes #2504

Checklist

Before submitting the PR, please check following (checks which are not relevant may be ignored):

Documentation is updated. See difference between snapshot and release documentation