https://kotlinlang.org logo
#ktlint
Title
# ktlint
p

Paul Dingemans

10/15/2023, 6:54 PM
@jw proposed to add a rule to ktlint to normalize annotation style.
Copy code
// Separate annotations
@A @B @C
fun foo() {}
// Annotation array
@[A B C]
fun foo() {}
Please contribute to the issue if you have an opinion about this.
c

Chrimaeon

10/15/2023, 7:23 PM
I didn’t even know the array style is a thing 😅
4
2 Views