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
Given code below and that trailing comma's on declaration site are enabled:
val foo = { string: String, int: Int -> // do something }
then this code is formatted as:
val foo = { string: String, int: Int, -> // do something }
and on the next invocation of ktlint, it reports violation below:
Whitespace after ',' is missing (experimental:parameter-list-spacing)
On the first invocation, the code should be formatted as:
and no violation may be reported on following invocations
The text was updated successfully, but these errors were encountered:
Add newline after adding trailing comma in parameter list of a functi…
e59db09
…on literal Closes #1911
0aeae6c
…on literal (#1912) Closes #1911
Successfully merging a pull request may close this issue.
Given code below and that trailing comma's on declaration site are enabled:
then this code is formatted as:
and on the next invocation of ktlint, it reports violation below:
On the first invocation, the code should be formatted as:
and no violation may be reported on following invocations
The text was updated successfully, but these errors were encountered: