Skip to content

Trailing comma may not be enforced when multiple enum entries on the same line #1905

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

Closed
paul-dingemans opened this issue Mar 31, 2023 · 0 comments · Fixed by #1906
Closed
Milestone

Comments

@paul-dingemans
Copy link
Collaborator

Given code sample below:

enum class Shape {
    SQUARE, TRIANGLE,
}

If .editorconfig property ij_kotlin_allow_trailing_comma is disabled then the trailing comma should be removed.

@paul-dingemans paul-dingemans added this to the 0.49.0 milestone Mar 31, 2023
paul-dingemans added a commit that referenced this issue Mar 31, 2023

Verified

This commit was signed with the committer’s verified signature. The key has expired.
Ginhing Ginhing
…nd trailing commas are not allowed

Closes #1905
paul-dingemans added a commit that referenced this issue Apr 1, 2023

Verified

This commit was signed with the committer’s verified signature.
IvanGoncharov Ivan Goncharov
…nd trailing commas are not allowed (#1906)

Closes #1905
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant