We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Android's Kotlin style guide's "Where to break" number #4 states:
A comma (,) stays attached to the token that precedes it.
It seems ktlint does not enforce this, so it allows potentially unwanted formatting like:
some.method(1 , 2)
Or
fun testMethod( arg1: Int , arg2: Int , arg3: Int ) = Unit
Version tested: 0.19.0
The text was updated successfully, but these errors were encountered:
Thanks Patrick. Yeah, SpacingAroundCommaRule is way to lax. I'll keep this ticket in mind when scoping for the next release.
Sorry, something went wrong.
Made comma-spacing rule more strict (#173)
4d07ba5
Fixed in 0.20.0.
No branches or pull requests
Android's Kotlin style guide's "Where to break" number #4 states:
It seems ktlint does not enforce this, so it allows potentially unwanted formatting like:
Or
Version tested: 0.19.0
The text was updated successfully, but these errors were encountered: