Repository navigation
chore(deps): update dependency nicklockwood/swiftformat to v0.64.5 - #160
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/nicklockwood-swiftformat-0.x
branch
from
July 7, 2026 15:08
7659140 to
76c9628
Compare
renovate
Bot
force-pushed
the
renovate/nicklockwood-swiftformat-0.x
branch
from
August 30, 2026 21:36
76c9628 to
a5475a9
Compare
renovate
Bot
force-pushed
the
renovate/nicklockwood-swiftformat-0.x
branch
from
September 26, 2026 08:52
a5475a9 to
67042c9
Compare
renovate
Bot
force-pushed
the
renovate/nicklockwood-swiftformat-0.x
branch
from
October 1, 2026 03:23
67042c9 to
73329b4
Compare
renovate
Bot
force-pushed
the
renovate/nicklockwood-swiftformat-0.x
branch
from
October 17, 2026 00:34
73329b4 to
eadc4f9
Compare
renovate
Bot
force-pushed
the
renovate/nicklockwood-swiftformat-0.x
branch
from
October 23, 2026 00:30
eadc4f9 to
eba4d0f
Compare
renovate
Bot
force-pushed
the
renovate/nicklockwood-swiftformat-0.x
branch
from
October 25, 2026 20:57
eba4d0f to
ef29479
Compare
renovate
Bot
force-pushed
the
renovate/nicklockwood-swiftformat-0.x
branch
from
October 26, 2026 11:44
ef29479 to
a0e3fa4
Compare
renovate
Bot
force-pushed
the
renovate/nicklockwood-swiftformat-0.x
branch
from
October 27, 2026 09:55
a0e3fa4 to
f74c23d
Compare
renovate
Bot
force-pushed
the
renovate/nicklockwood-swiftformat-0.x
branch
from
October 31, 2026 21:39
f74c23d to
29a00ce
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.61.1→0.64.5Release Notes
nicklockwood/SwiftFormat
v0.64.5Compare Source
unsafein for loops and expression parsingunusedArgumentsremoving arguments referenced by lifetime attributesredundantEquatableremoving==when stored properties are conditionally compiledpreferForLoopconvertingforEachcalls used as expressionsnoForceUnwrapInTestsconverting force unwraps inside key pathshoistTryplacement around comments, member chains after closures, and multiline declarationsenvironmentEntryplacing default values after attributes on separate linesbracesjoining closure statements onto preceding closing bracesredundantClosuretreating parentheses on a new line as a callredundantReturnremoving early returns in branches ending withthrowextensionAttributesdoubling comment indentation after removed attributesduplicateImportsto remove ordinary duplicate imports across code boundariesdocCommentsleaving trailing spaces when converting documentation commentsv0.64.4Compare Source
redundantReturnremoving required returns when nested conditional branches all thrownestedIfto flatten nestedelse { if ... }branches intoelse ifchains--end-of-options separatorv0.64.3Compare Source
andOperatorreplacing&&with commas inside ternary expression branchestrailingClosuresattaching a parenthesized closure on a new line to the preceding statementv0.64.2Compare Source
indentperformance regression on large arrays of multiline initializers#ifdirectives in single-expression bodies, including return removal and SwiftUI formattingv0.64.1Compare Source
nestedIfandrepeatedGuardlosing condition wrapping when merging statementswrapArgumentswrapping condition lists when line breaks occur only inside individual clauseswrapEnumCasesskipping cases declared after a raw valuepropertyTypesdropping.initbefore a force unwrap or trailing closureredundantReturnremoving required bare returns fromdo throws(...)bodiesredundantSelfmissing local variables declared after a trailing closureredundantOverloadremoving overloads in types that declare a conformancebracesmoving opening braces onto conditional compilation directive linesifandguardconditionsv0.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 defaultv0.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@TestargumentsConfiguration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, 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.