-
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
Unexpected indentation (expected 8, actual 12) #558
Comments
Also, if the indentation of a line is more than the required one, but in multiples of the set indentation value, ktlint fails to report an error. Example:
but not in this case:
|
I am seeing the same issue as @GurpreetSK95. When a continuation indent is any multiple of the indent size it passes validation.
I think this should count as a violation. |
To me, this is a bug in ktlint. |
@lxdraw @imGurpreetSK this should be fixed already - please use the latest version. |
Have next code:
Specifies the same error for all four parameters:
I tried to configure the project as shown here and here
But the error remained.
Some code from my root
build.gradle
:The text was updated successfully, but these errors were encountered: