zak.taccardi
03/01/2023, 3:10 AMimport kotlinx.coroutines.CoroutineScope
internal abstract class MyParentClass(
string: String
)
internal class MyChildClass(
scope: CoroutineScope
) : MyParentClass(
"hello"
), CoroutineScope by scope
to be:
import kotlinx.coroutines.CoroutineScope
internal abstract class MyParentClass(
string: String
)
internal class MyChildClass(
scope: CoroutineScope
) : MyParentClass(
"hello"
),
CoroutineScope by scope
a bug? the error is Missing newline after ","
and violates the wrapping
rulezak.taccardi
03/01/2023, 3:17 AMPaul Dingemans
03/01/2023, 6:54 PMPaul Dingemans
03/06/2023, 6:07 PMdata class FooRequestDto(
val data: List<@Valid @NotNull FooDto>,
)
is formatted by ktlint as:
data class FooRequestDto(
val data: List<@Valid @NotNull
FooDto,>,
)
Of course it should be clear that I totally agree with that. In the issue, I have proposed to format this like:
data class FooRequestDto(
val data: List<
@Valid
@NotNull
FooDto,
>,
)
Please, add your remarks or counter proposals in the issue. Thanks!