-
Notifications
You must be signed in to change notification settings - Fork 508
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
ident behavior change when upgrading to 0.46.0 #1510
Milestone
Comments
Public repo is here: BeLabs/appstatistics#43 |
@vanniktech can you run lint with the |
It is indeed a regression bug. Output with snippet above in a file called
|
paul-dingemans
added a commit
to paul-dingemans/ktlint
that referenced
this issue
Jun 21, 2022
…laration should not have an extra indentation. This fixes a regression bug introduced by the fix of pinterest#1340. Closes pinterest#1510
5 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is my editorconfig file:
and this is my snippet:
When running ktlint with 0.45.2 all is fine. However when running
ktlintFormat
with0.46.0
, the spacings change:The continuation ident seems to be changing (from 4 to 6). Is this change wanted? Looking at my editorconfig file, the previous behavior seems to be correct.
The text was updated successfully, but these errors were encountered: