-
Notifications
You must be signed in to change notification settings - Fork 503
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
modifiers order #146
Comments
@gmariotti thank you for letting us know. https://github.com/shyiko/ktlint/blob/master/ktlint-ruleset-standard/src/main/kotlin/com/github/shyiko/ktlint/ruleset/standard/ModifierOrderRule.kt#L38 will be fixed to match official recommendation as part of the next release. |
@shyiko great, thanks!! |
shyiko
added a commit
that referenced
this issue
Feb 27, 2018
Fixed in 0.16.0. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Ktlint formatting doesn't respect the suggested order for modifiers from Kotlin Coding Conventions. Specifically, instead of accepting the order
tailrec suspend fun
, it corrects it tosuspend tailrec fun
. Is this an expected behavior or something that will be updated?The text was updated successfully, but these errors were encountered: