Skip to content

fix(swift): allow continuation alignment - #24

Merged
aduermael merged 1 commit into
mainfrom
fix/swift-continuation-indentation
Jul 20, 2026
Merged

fix(swift): allow continuation alignment#24
aduermael merged 1 commit into
mainfrom
fix/swift-continuation-indentation

Conversation

@gdevillele

Copy link
Copy Markdown
Owner

Summary

  • recognize aligned guard conditions, wrapped arguments, and leading-dot chains as Swift continuation lines
  • keep tab checks and nested block-width enforcement strict
  • centralize shared non-code masking and document the Swift-specific VET009 behavior

Testing

  • swift test
  • go test -count=1 ./...
  • cargo test
  • go run ./implementations/go/cmd/vet

Closes #23

@Donorhan
Donorhan self-requested a review July 20, 2026 06:43

@Donorhan Donorhan left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@aduermael aduermael left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@aduermael
aduermael merged commit f23848f into main Jul 20, 2026
1 check passed
@aduermael
aduermael deleted the fix/swift-continuation-indentation branch July 20, 2026 15:19
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.

Swift indentation width rule flags aligned continuation lines

3 participants