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

Wrapping block and kdoc comments #1403

Conversation

paul-dingemans
Copy link
Collaborator

@paul-dingemans paul-dingemans commented Mar 13, 2022

Description

Add new experimental rules for wrapping of block comments and KDoc comments. Both block comments as well as KDoc comments should always start and end on a line which does not contain any other element (except the whitespace for indentation). Block comments at the end of a line and which are preceded by another element, are automatically converted to an EOL comment.

Closes #1329

Checklist

  • tests are added
  • CHANGELOG.md is updated
  • README.md is updated

@paul-dingemans paul-dingemans merged commit 6c74bcb into pinterest:master Mar 13, 2022
@paul-dingemans paul-dingemans deleted the wrapping-block-and-kdoc-comments branch March 13, 2022 10:37
@paul-dingemans paul-dingemans added this to the 0.45.0 milestone Mar 13, 2022
# 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.

False positive for 'Missing newline after "->" (indent)'
1 participant