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? 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
I assumed that it would be fixed by #951, but I tried the latest snapshot and still see some broken behavior.
This is how Android Studio formats the code. We use 2 space indent, but the result is the same for 4 space indent.
private fun RenderTester<Boolean, OverviewCategoryRowState, OverviewCategoryRowOutput, OverviewCategoryRendering>.expectVisibilityWorker( expectedOutput: Boolean? = null ) = apply { }
KtLint complains about the indent in line 3 and 4:
Source.kt:3:5: Unexpected indentation (expected 6, actual 4) Source.kt:4:3: Unexpected indentation (expected 4, actual 2)
If I change the code to what KtLint suggests, then the error changes
Source.kt:3:1: Unexpected indentation (6) (should be 4) Source.kt:4:1: Unexpected indentation (4) (should be 2)
The text was updated successfully, but these errors were encountered:
Experiencing the same issue
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
I assumed that it would be fixed by #951, but I tried the latest snapshot and still see some broken behavior.
Expected Behavior
This is how Android Studio formats the code. We use 2 space indent, but the result is the same for 4 space indent.
Observed Behavior
KtLint complains about the indent in line 3 and 4:
If I change the code to what KtLint suggests, then the error changes
Your Environment
The text was updated successfully, but these errors were encountered: