Skip to content
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

Remove trailing comma if last two enum entries are on the same line #1906

Merged
merged 1 commit into from
Apr 1, 2023

Conversation

paul-dingemans
Copy link
Collaborator

Description

Remove trailing comma if last two enum entries are on the same line and trailing commas are not allowed

Closes #1905

Checklist

  • PR description added
  • tests are added
  • KtLint has been applied on source code itself and violations are fixed
  • documentation is updated
  • CHANGELOG.md is updated

In case of adding a new rule:

@paul-dingemans paul-dingemans added this to the 0.49.0 milestone Mar 31, 2023
@paul-dingemans paul-dingemans merged commit c9ab0e0 into master Apr 1, 2023
@paul-dingemans paul-dingemans deleted the 1905-trailing-comma branch April 1, 2023 14:04
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 this pull request may close these issues.

Trailing comma may not be enforced when multiple enum entries on the same line
1 participant