Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Trailing comma followed by a KDOC #1695

Conversation

paul-dingemans
Copy link
Collaborator

Description

Do not add a second trailing comma, if the original trailing comma is followed by a KDOC

Closes #1676

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:

… followed by a KDOC `trailing-comma-on-declaration-site` and `trailing-comma-on-call-site`

Closes pinterest#1676
@paul-dingemans paul-dingemans added this to the 0.48.0 milestone Nov 2, 2022
@paul-dingemans paul-dingemans merged commit 61bf2df into pinterest:master Nov 6, 2022
@paul-dingemans paul-dingemans deleted the 1676-trailing-comma-followed-by-kdoc branch November 6, 2022 09:26
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Erroneous comma applied onto property with comment
1 participant