KT.MODIFIER_ORDER
Modifiers are not in the default order from coding-conventions
This rule reports cases in the code where modifiers are not in the correct order. The default modifier order is taken from: https://kotlinlang.org/docs/coding-conventions.html#modifiers-order
Noncompliant Code
Copy
lateinit internal val str: String
Compliant Code
Copy
internal lateinit val str: String