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

Fix false positive in import ordering #1857

Merged
merged 1 commit into from
Mar 14, 2023
Merged

Conversation

paul-dingemans
Copy link
Collaborator

Description

Fix false positive when .editorconfig property ij_kotlin_imports_layout contains a | but no import exists that match any pattern before the first |

Closes #1845

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:

…ayout` contains a `|` but no import exists that match any pattern before the first `|`

Closes #1845
@paul-dingemans paul-dingemans merged commit c5ec2c6 into master Mar 14, 2023
@paul-dingemans paul-dingemans added this to the 0.49.0 milestone Mar 14, 2023
@paul-dingemans paul-dingemans deleted the 1845-import-ordering branch March 14, 2023 07:18
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.

ij_kotlin_imports_layout with | generates multiple line breaks
1 participant