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

Johan

10/12/2023, 1:09 PM
Is this formatting expected?
Copy code
< 1.0.0
val concurrentMap = Caffeine
    .newBuilder()
    .maximumSize(1000)

1.0.0
val concurrentMap = 
    Caffeine
        .newBuilder()
        .maximumSize(1000)
p

Paul Dingemans

10/12/2023, 2:35 PM
Yes correct. Since
1.0.0
the
ktlint_official
code style is the default code style. In this code style the rule
multiline-expression-wrapping
is enabled by default.
10 Views