Repository navigation
chore(deps): update dependency swiftformat to v0.63.1 - #258
Open
renovate[bot] wants to merge 1 commit into
Open
renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
renovate
Bot
force-pushed
the
renovate/swiftformat-0.x
branch
6 times, most recently
from
July 4, 2026 13:18
81918bf to
abf986f
Compare
renovate
Bot
force-pushed
the
renovate/swiftformat-0.x
branch
from
July 6, 2026 20:38
abf986f to
c2cd3bb
Compare
renovate
Bot
force-pushed
the
renovate/swiftformat-0.x
branch
from
July 7, 2026 17:02
c2cd3bb to
7c25507
Compare
renovate
Bot
force-pushed
the
renovate/swiftformat-0.x
branch
from
August 30, 2026 21:02
7c25507 to
ff98a46
Compare
renovate
Bot
force-pushed
the
renovate/swiftformat-0.x
branch
from
October 1, 2026 04:20
ff98a46 to
c7b0bc9
Compare
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.58.7→0.63.1Release Notes
nicklockwood/SwiftFormat (swiftformat)
v0.63.1Compare Source
--localeoption for deterministic sorting--boolean-guards-in-testsoption, defaulting topreserveconvenienceto match Apple conventionssortDeclarationshandling of trailing whitespace and commentspreferSwiftStringAPImodifyingreplacingOccurrences(of: "", with: ...)disable:nexthandling in multiline stringsdocCommentsincorrectly converting nested function comments when preceded by executable codeswiftTestingTestCaseNamesremoving unnamed argument underscores and pluralized acronymssortImportstreatingpackageimports as unlabeledindentadding line-wrap indentation to wrapped function namesindentof wrapped case patterns with--indent-case truepreferSwiftTestingadding duplicate default suite attributeshoistTryplacement across infix expressions with trailing closuresv0.63.0Compare Source
ifExpressionsrule to convert ternaries to if expressionspreferLazyMapruleredundantExtendedLifetimerule<!-- no-format -->HTML comment syntax for disabling formatting of markdown code blocks--enableis used for a rule that is already enabled by default--redundant-optional-bindingoption, defaulting tosame-name-only--wrapstringinterpolation preservethe default--single-line-ternarytoconvert--rulesand--rule-infooutputorganizeDeclarationsto categorize associatedtype declarations as beforeMarkshoistAwaitandhoistTryto automatically detect and preserve autoclosures within same file as definitionredundantTypeandpropertyTypesto support moreExpressibleByXLiteraltypesredundantReturnto preserve barereturnin closures where removal would create single-expression bodyredundantOptionalBindingto convertif let x = propertytoif let propertyurlMacrorule to supporttry #require(URL(string:))patternredundantBackticksto preserve backticks on Swift Testing@TestfunctionsswiftTestingTestCaseNamesto convert backticked names with test prefix or underscoresgenericExtensionsrule to support collection typesunusedPrivateDeclarationsto preserve properties used in compiler-generatedEquatableandHashableconformancesredundantClosurefalse positive for if statements with no else branchpreferForLoopincorrectly applying to dollar-prefixed identifiersswiftTestingTestCaseNamesnot adding backticks when required--preserve-acronymsto work as substring match, not just exact identifier matchgenericExtensionsrule leaving stray comma with additional where conditionsindentdropping switch case body indentation inside#ifwith--ifdef no-indentredundantSwiftUIGroupremovingGroup(subviews:)redundantReturnremoving redundant returns from switch/if inside a flatMap closure--ifdef no-indentindentation for method chains and directivesenvironmentEntryedge casesredundantInternalstripping required internal inside#ifin non-internal extensions#ifspaceAroundParensspurious violations for keyword identifiers after::module selectorv0.62.1Compare Source
isEmpty,preferContains,preferFirstWhere,preferCountWhere,preferMinOverSorted,preferFlatMap,emptyExtensions--guard-like-if-statementsoption tonoGuardInTestsrule, defaulting topreservev0.62.0Compare Source
redundantSwiftUIGrouprulepreferContainsrulepreferMinOverSortedrulepreferFlatMaprulepreferFirstWhererule--indent-blank-linesoption to match the surrounding context--line-wrap-thresholdoption for length-based wrapping--type-blank-lines consistentoptionstart-onlyandend-onlyvalues to--type-blank-linesbefore-non-local-declarationsvalue for--doc-commentsisEmptyrule by defaultwrapConditionalBodiesintowrapIfStatementBodies,wrapIfExpressionBodies,wrapGuardStatementBodiesnoGuardInTestsrule to apply to guard-like if statements, usetry #requirefor boolean conditionsredundantSendablerule to be disabled by default, and to skip enums with indirect casesredundantVariableincorrectly removing variables with modifiers or attributespreferSwiftTestingspuriously addingUIKitimport forUInttypes$nameclosure parameters incorrectly treated as unused whenselfhas a same-named propertydocCommentsrule incorrectly converting enum case group comments to doc commentsmarkTypesincorrectly considering top-level macro declarationsblankLinesBetweenScopesincorrectly inserting blank line before#elseifdirectivesemptyExtensionsincorrectly removing extensions containing a freestanding macro declarationorganizeDeclarationsincorrectly placing freestanding macro declarations afterMARKcommentsredundantSendableforindirect enumspaceAroundParensincorrectly inserting space beforeOptional.some(...)in subsequent@Testargumentsv0.61.1Compare Source
redundantStaticSelffalse positive inside closures and nested functionsunsafekeyword dot-spacing edge caseredundantSelfcrash on switch expression inside if-let binding chainredundantEquatableremoving manual==for types withAny.Typestored propertiesv0.61.0Compare Source
wrapCaseBodiesruleredundantEmptyViewrulepreferSwiftStringAPIrule--test-case-access-controloption fortestSuiteAccessControlrulesortImportsto support--import-grouping length,alpha--self-requiredto support assignment type names likeOSLogMessage--suite-name-formatdefault value topreserveorganizeDeclarationswhen opening brace has a trailing comment--trimwhitespace nonblank-lines--indent-stringsredundantParensincorrectly removing()from@MainActorclosure signaturesextensionAccessControlincorrectly hoistingpubliconto extensions of nested internal typesspaceAroundParensincorrectly removing space afternonisolated(nonsending)modifiernoGuardInTestsincorrectly transformingguard #availableconditions@conventionclosuresredundantSelfinsertingself.inside#if/#elseifcompiler directive conditionsv0.60.1Compare Source
redundantSendablerule would unexpectedly removeSendableconformance on type defined in public extensionredundantSendablerule would leave behind extra space when removing:redundantPropertyrule toredundantVariableredundantVariablerule to preserve variables with explicit type annotationsenumNamespacesrule to preserve Swift Testing suites as structsv0.60.0Compare Source
redundantSwiftTestingSuiteruleredundantSendablerulepreferExplicitFalserule::module selector syntaxswiftTestingTestCaseNamesto use raw identifiers by defaultswiftTestingTestCaseNamesto use UpperCamelCase for test suite namesredundantSelfto handleguardstatementsunusedArgumentsto handle for loop variablesredundantTypeto better handleSetliteralsredundantParentsto remove empty parens from attributessortImportsto sort imports by access controlblankLinesBetweenImportsto preserve indentation when indent disabledunusedPrivateDeclarationrule to preserve private@TestfunctionspreferSwiftTestingrule to convert tests in extensions within the same file--stdin-pathto not require the file to actually existsimplifyGenericConstraintsto avoid adding duplicate constraintsblankLinesAroundMarkto insert blank line before MARK at start of scope when allowed byblankLinesAtStartOfScopeconfigredundantEquatableto preserve==implementation in types withStrideableconformance#ifblocks in several rulesasyncfunction declarations were wrapped usingwrapArgumentsinstead ofwrapParametersredundantViewBuilderwould remove@ViewBuilderfrom protocol membersredundantSelfparsing issue with throwing closure return types and switch expressions inif letconditiontrailingCommasrule incorrectly adding commas to if#availablechecksguard...elseindentation inwrapArgumentswithwrap-conditionssimplifyGenericConstraintswould leave danglingwherekeyword in protocol memberstrailingCommasdidn't handle closure capture lists with macro expressions.initwould be removed in code like[Foo].init { ... }(not supported until Swift 6.4)..swift-versionfiles were read from excluded directories&&operator with,inside a ternary conditionunusedArgumentsbug in code withtry? awaitMainActorattributes inredundantViewBuilderv0.59.1Compare Source
indentrule--ifdefhandling from 0.59.0docCommentsrule to use doc comments on nested functions and handle conditional compilation blocks in function bodiesspaceAroundBracketsto preserve space between global actor attribute and closure capture listredundantMemberwiseInitto preserve inits with attributesanykeyword insortTypealiasesrulev0.59.0Compare Source
simplifyGenericConstraintsrulevalidateTestCasesruletestSuiteAccessControlrulewrapPropertyBodiesrulewrapFunctionBodiesruleredundantViewBuilderrule--ifdef preserveoption toindentrule--prefer-synthesized-init-for-internal-structsoption toredundantMemberwiseInitruleblankLinesBetweenImports,docComments,emptyExtensions,environmentEntry,noForceTryInTests,noForceUnwrapInTests,redundantAsync,redundantEquatable,redundantMemberwiseInit,redundantProperty,redundantThrowstypeSugarto only preserve explicitOptional<T>in structs with a synthesized memberwise initializerredundantMemberwiseInitrule to support result builder attributesorganizeDeclarationshandles structs with a synthesized memberwise initializerdocCommentsrule to preserve formatting of comments with directives--ifdef no-indenthandling of method chains and nested directivesXMLReporterdid not properly escape stringsunsafekeywordspaceAroundBracketsrulesortTypealiasesruleredundantSelfrule could crash if encountering a function with no body (e.g.@_silgen_name)Configuration
📅 Schedule: (in timezone America/Chicago)
* * * * 0,6)🚦 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.