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 value parameter and property #1846

Merged
merged 4 commits into from
Mar 8, 2023

Conversation

paul-dingemans
Copy link
Collaborator

@paul-dingemans paul-dingemans commented Mar 8, 2023

Description

Add new rules for wrapping of properties and value parameters in case the maximum line length is exceeded.

Use a continuation indent inside a value parameter in case code style ktlint_official is used

Closes #1775

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 merged commit 12b6eda into master Mar 8, 2023
@paul-dingemans paul-dingemans deleted the 1775-wrapping-parameter-type branch March 8, 2023 20:27
@paul-dingemans paul-dingemans added this to the 0.49.0 milestone Mar 21, 2023
# 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.

Wrapping variable type in constructor has no indent
1 participant