`ktlint` formats below code ```when (System.curren...
# ktlint
a
ktlint
formats below code
Copy code
when (System.currentTimeMillis()) {
    1L -> "".lowercase()
    @Suppress("DEPRECATION")
    2L -> "".toLowerCase()
    3L -> "".toLowerCaseAsciiOnly()
}
to
Copy code
when (System.currentTimeMillis()) {
    1L -> "".lowercase()
    @Suppress("DEPRECATION")
    2L,
    -> "".toLowerCase()
    3L -> "".toLowerCaseAsciiOnly()
}
is that correct? (Failing rule is
standard:annotation
). Error line
/Users/atulgup/Learning/ktlint/ktlint-ruleset-standard/src/main/kotlin/com/pinterest/ktlint/ruleset/standard/rules/MultiLineIfElseRule.kt:161:10: Expected newline (standard:annotation)
Ran this in
ktlint-root
project using
./gradlew ktlintFormat
Although even auto-formatted code fails again against the same rule