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

An enumeration class having a primary constructor and in which the li… #1736

Merged

Conversation

paul-dingemans
Copy link
Collaborator

Description

An enumeration class having a primary constructor and in which the list of enum entries is followed by a semicolon then do not remove the semicolon in case it is followed by code element

Closes #1733

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:

…st of enum entries is followed by a semicolon then do not remove the semicolon in case it is followed by code element

Closes pinterest#1733
@paul-dingemans paul-dingemans merged commit 0916193 into pinterest:master Dec 18, 2022
@paul-dingemans paul-dingemans deleted the 1733-no-semicolon-in-enum branch December 18, 2022 12:11
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.

Formatting with no-semi rule removes semicolons in enum, even if continues companion object
1 participant