yeah, the problem I find is that it denies 17 when...
# ktlint
j
yeah, the problem I find is that it denies 17 when it should be 12, but allows 16 in the same level. also the
wildcard import
does not seem to be enabled by standard config and I wonder why. After all, most of bikesheding circles around those two issues (number of spaces and wildcard imports) 🙂 my test case below:
Copy code
jakub@jgw-pc:~/IdeaProjects/aaa$ cat src/main/kotlin/ktlinttest/KtLintTest.kt 
package ktlinttest

import java.io.*

fun foo() {
    val x = listOf(1, 2, 3)
            .map { it + 1 }
        .sum()
    println(x)

    val y = File("a.txt")
    println(y)
}
jakub@jgw-pc:~/IdeaProjects/aaa$ ktlint src/main/kotlin/ktlinttest/KtLintTest.kt 
jakub@jgw-pc:~/IdeaProjects/aaa$