Adam
08/26/2020, 1:15 PMParameterListWrapping in 1.12.0 that look either questionable or wrong. Avoiding upgrading for now, rather than disabling the rule. A couple of examples:
Questionable. Fails with Argument should be on a separate line (unless all arguments can fit a single line) and Missing newline before ")" .
foo(bar.apply {
// stuff
})
Wrong? Fails function(arg1, arg2, arg3) with Argument should be on a separate line (unless all arguments can fit a single line) .
json(
"""
{
"array": [
${function(arg1, arg2, arg3)}
]
}
""".trimIndent()
)
Related to this ktlint PR?Brais Gabin
08/26/2020, 1:45 PMAdam
08/26/2020, 1:48 PM