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
[*] charset = utf-8 end_of_line = lf trim_trailing_whitespace = true insert_final_newline = true indent_style = space indent_size = 2 max_line_length = 112 ij_kotlin_allow_trailing_comma = true ij_kotlin_allow_trailing_comma_on_call_site = true [*.{kt,kts}] indent_size = 4
sealed class Base( open val userId: String, open val message: String, ) { data class FooState( override val userId: String, ) : Base( userId = userId, message = "message", ) }
~8:1 Unexpected indentation (8) (should be 12) ~9:1 Unexpected indentation (8) (should be 12) ~10:1 Unexpected indentation (4) (should be 8)
The code above is perfectly fine in Kotlin code convention. What did I do wrong in this configuration?
The text was updated successfully, but these errors were encountered:
Nevermind. It seems like the same issue : pinterest/ktlint#2257
Sorry, something went wrong.
No branches or pull requests
configuration
code
result
expected behavior
The code above is perfectly fine in Kotlin code convention.
What did I do wrong in this configuration?
The text was updated successfully, but these errors were encountered: