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

Update to SwiftFormat build based on 0.53.0 release #255

Merged
merged 1 commit into from
Jan 31, 2024

Conversation

calda
Copy link
Member

@calda calda commented Jan 17, 2024

Summary

Nick released SwiftFormat 0.53.0 recently. Previously we were using a build based on 0.52.x. This PR updates us to use a build based on 0.53.0.

@@ -35,7 +35,7 @@
--someAny disabled # opaqueGenericParameters
--elseposition same-line #elseOnSameLine
--guardelse next-line #elseOnSameLine
--oneLineForEach wrap #preferForLoop
--onelineforeach convert #preferForLoop
Copy link
Member Author

@calda calda Jan 17, 2024

Choose a reason for hiding this comment

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

Nick updated how the preferForLoop rule works, so this updates our configuration to preserve the behavior from previous versions nicklockwood/SwiftFormat#1490 (comment)

@calda calda merged commit 508132e into master Jan 31, 2024
5 checks passed
@calda calda deleted the cal--SwiftFormat-0.54-beta-1 branch January 31, 2024 19:07
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.

2 participants