-
Notifications
You must be signed in to change notification settings - Fork 506
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
kltint fails for indents using 2 interfaces #1003
Comments
I think #961 is the cause of this issue. |
Thanks for the quick fix, wanted to provide one during the weekend, but you are really fast :) |
This was referenced Mar 16, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey! Not entirely sure who is wrong here, either the auto-format from IntelliJ or ktlint. Weird thing is that ktlint succeeds if i reduce it to one interface.
Expected Behavior
Ktlint shouldn't not complain about the indention.
Unexpected indentation (4) (should be 8) (indent)
https://kotlinlang.org/docs/reference/coding-conventions.html#class-header-formatting
Observed Behavior
Ktlint fails with
Unexpected indentation (4) (should be 8) (indent)
.Steps to Reproduce
Kotlin Coding Conventions
as default for the project:samples:kotlin-gradle:ktlintMainSourceSetCheck
Your Environment
The text was updated successfully, but these errors were encountered: