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

Specify --shortoptionals always option explicitly since default was updated to except-properties #251

Merged
merged 1 commit into from
Nov 17, 2023

Conversation

calda
Copy link
Member

@calda calda commented Nov 13, 2023

Summary

The default value of the --shortoptionals rule was changed from always to except-properties in nicklockwood/SwiftFormat@5ec0a94.

In anticipation of this change, let's explicitly list the --shortoptionals always option. This preserves the existing behavior of the typeSugar rule.

@calda calda merged commit 860a1c2 into master Nov 17, 2023
5 checks passed
@calda calda deleted the cal--shortoptionals-always branch November 17, 2023 18:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants