Vampire
12/05/2023, 12:40 PM// work-around for <https://youtrack.jetbrains.com/issue/KT-38871>
// Kotlin 1.9+ and thus Gradle 8.3+ fixed it and no suppression is necessary anymore
@Suppress("UNUSED_VARIABLE")
val foo by gradle.extra {
true
}
is it expected that ktlint adds a blank line between the comment and the annotation?
Or can this be configured?
Or would this warrant a bug report?jw
12/05/2023, 4:20 PM@Suppress(
// Explain
"The thing",
)
Which lets me do multiple without changing the format or breaking the blameVampire
12/05/2023, 4:27 PMVampire
12/05/2023, 4:28 PMwakingrufus
12/05/2023, 4:53 PM/* */
styleVampire
12/05/2023, 4:59 PMSha Sha Chu
12/05/2023, 5:33 PMPaul Dingemans
12/05/2023, 6:49 PMVampire
12/05/2023, 7:29 PMVampire
12/05/2023, 8:50 PM