Repository navigation
chore(deps): update dependency swiftformat to v0.64.0 - #113
Merged
Merged
Conversation
Generated by 🚫 Danger |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
0.63.1→0.64.0Release Notes
nicklockwood/SwiftFormat (swiftformat)
v0.64.0Compare Source
--snapshotfeature for incrementally adopting formatting without changing files that match a saved snapshot--unknown-options error|warn|ignorefor handling unknown rules, options, and unsupported option values--color auto|always|neverto control colored command-line outputnestedIfrule to merge nested if statementsrepeatedGuardrule to merge consecutive guard statements with identical bodiesredundantEnumeratedrule to remove unused enumeration indices from for loopsextensionAttributesrule to hoist common member attributes onto extensionscontentBuilderrule, replacingredundantViewBuilder, with--content-builderand--prefer-content-builderoptionscommonTyposrule, with--typo-visibility,--typos, and--ignore-typosoptionsforWhererule with--for-where always|neverredundantOverloadrule to replace forwarding overloads with default argumentspreferStructSwiftTestingSuitesrulewrapClosureBodies,wrapDoBodies, andwrapSingleLineStringsrulesheader-creation-date-after:config filters for applying rules based on file header dates--scope-blank-lines remove|preservefor function bodies, closures, and statement blocks--wrap-single-line-enum-casesoption, defaulting tofalse--acronym-visibilityoption, defaulting tointernal--blank-line-after-switch-case neveroption--hoist-imports hoist|preserveoption, defaulting tohoist--excluded-declaration-typesoption for thedocCommentsruleattributes-lastimport grouping and made import grouping order configurableswiftformat:sortdirectives@ContentBuilderredundantExtendedLifetimeto handle write-only references and underscored assignmentsredundantParensto handle optional opaque types in Swift 6.4noForceUnwrapInTeststo handle force unwraps on the RHS of operators and placetryat the start of the expressionprivateStateVariablestoprivateSwiftUIDynamicPropertiesand expanded it to other SwiftUI dynamic properties in views and view modifiersnoForceUnwrapInTestsusing stale function body ranges and placingtrybefore assignment targetsredundantSelfandredundantStaticSelfmodifying code outside the requested line rangeredundantReturnremoving required returns before expressions in Void functionsreadandmodifyaccessorsorganizeDeclarationstimeouts when declarations share a lineorganizeDeclarationsrule when opening brace line has a trailing comment.build,Build, andDerivedDatadirectories from formatting/linting by defaultConfiguration
📅 Schedule: (UTC)
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.