KT.EQUALS_ON_SIGNATURE_LINE
Equals sign is not on the same line as the function signature
Requires that the equals sign, when used for an expression style function, is on the same line as the rest of the function signature.
Noncompliant Code
Copy
fun stuff(): Int
= 5
fun <V> foo(): Int where V : Int
= 5
Compliant Code
Copy
fun stuff() = 5
fun stuff() =
foo.bar()
fun <V> foo(): Int where V : Int = 5