Closed notfed closed 3 weeks ago
What are you suggesting to be done here? Change the default to 4 spaces?
You could specify --kotlinlang-style
to use the Kotlin recommended one. We do not have the intention to change the default.
FWIW Google uses 2 space formatting for their code as well (see the --google-style
), the one you mentioned is the Android recommendation, which is different from how they write their code internally.
Closed due to lack of response
Defaulting to 2-spaces is a bit...odd. If you really insist on 2-spaces, provide a separate command-line argument to override this.
Your README says:
But...both kotlinlang.com and Google recommend 4-space indentation for Kotlin.