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

Function type in nullable type exceeding max line length #2060

Merged
merged 4 commits into from
May 28, 2023

Conversation

paul-dingemans
Copy link
Collaborator

Description

Prevent incorrect reporting of violations in case a nullable function type reference exceeds the maximum line length parameter-list-wrapping

Closes #1324

  • 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:

… type reference exceeds the maximum line length `parameter-list-wrapping`

Closes #1324
@paul-dingemans paul-dingemans changed the title Prevent incorrect reporting of violations in case a nullable function… Function type in nullable type exceeding max line length May 27, 2023
@paul-dingemans paul-dingemans added this to the 0.49.2 / 0.50.x milestone May 27, 2023
…-wrapping

# Conflicts:
#	ktlint-ruleset-standard/src/main/kotlin/com/pinterest/ktlint/ruleset/standard/rules/ParameterListWrappingRule.kt
#	ktlint-ruleset-standard/src/test/kotlin/com/pinterest/ktlint/ruleset/standard/rules/ParameterListWrappingRuleTest.kt
@paul-dingemans paul-dingemans merged commit 2af5f12 into master May 28, 2023
@paul-dingemans paul-dingemans deleted the 1324-parameter-list-wrapping branch May 28, 2023 10:32
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.

Bug on parameter's class that reached maximum line
1 participant