Eric
03/08/2022, 1:45 PMfun FooEntity.toWire(): Foo =
    Foo.newBuilder()
       .setLastSeenYearMonth(
            PartialDate.newBuilder()
                .setMonth(this.lastSeenMonth)
                .setYear(this.lastSeenYear)
                .build()
        )
        .build()
ktlint leaves that block as-is. detekt formats it like this:
fun FooEntity.toWire(): Foo =
    Foo.newBuilder()
        .setLastSeenYearMonth(
        PartialDate.newBuilder()
            .setMonth(this.lastSeenMonth)
            .setYear(this.lastSeenYear)
            .build()
        )
        .build()
and then flags the indentation as wrong and increases the debt score.Eric
03/08/2022, 3:12 PMEric
03/08/2022, 3:19 PMcom.pinterest.ktlint:ktlint-core to a newer version in dependencies?gammax
03/08/2022, 6:34 PMEric
03/08/2022, 6:35 PMArgumentListWrapping
even w/ a newer version of the ktlint jars, it wasn’t quite right