-
Notifications
You must be signed in to change notification settings - Fork 2
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 dependency nicklockwood/SwiftFormat to v0.55.2 #57
Open
renovate
wants to merge
1
commit into
master
Choose a base branch
from
renovate/nicklockwood-swiftformat-0.x
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains 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
renovate
bot
force-pushed
the
renovate/nicklockwood-swiftformat-0.x
branch
from
March 17, 2024 12:16
b74eb29
to
2a97f6e
Compare
renovate
bot
changed the title
Update dependency nicklockwood/SwiftFormat to v0.53.4
Update dependency nicklockwood/SwiftFormat to v0.53.5
Mar 17, 2024
renovate
bot
force-pushed
the
renovate/nicklockwood-swiftformat-0.x
branch
from
April 11, 2024 07:41
2a97f6e
to
ffb9e84
Compare
renovate
bot
changed the title
Update dependency nicklockwood/SwiftFormat to v0.53.5
Update dependency nicklockwood/SwiftFormat to v0.53.6
Apr 11, 2024
renovate
bot
force-pushed
the
renovate/nicklockwood-swiftformat-0.x
branch
from
April 14, 2024 12:38
ffb9e84
to
78a873b
Compare
renovate
bot
changed the title
Update dependency nicklockwood/SwiftFormat to v0.53.6
Update dependency nicklockwood/SwiftFormat to v0.53.7
Apr 14, 2024
renovate
bot
force-pushed
the
renovate/nicklockwood-swiftformat-0.x
branch
from
April 23, 2024 01:47
78a873b
to
b470e58
Compare
renovate
bot
changed the title
Update dependency nicklockwood/SwiftFormat to v0.53.7
Update dependency nicklockwood/SwiftFormat to v0.53.8
Apr 23, 2024
renovate
bot
force-pushed
the
renovate/nicklockwood-swiftformat-0.x
branch
from
May 12, 2024 22:53
b470e58
to
74fa657
Compare
renovate
bot
changed the title
Update dependency nicklockwood/SwiftFormat to v0.53.8
Update dependency nicklockwood/SwiftFormat to v0.53.9
May 12, 2024
renovate
bot
force-pushed
the
renovate/nicklockwood-swiftformat-0.x
branch
from
May 18, 2024 18:23
74fa657
to
1934c03
Compare
renovate
bot
changed the title
Update dependency nicklockwood/SwiftFormat to v0.53.9
Update dependency nicklockwood/SwiftFormat to v0.53.10
May 18, 2024
renovate
bot
force-pushed
the
renovate/nicklockwood-swiftformat-0.x
branch
from
June 11, 2024 09:58
1934c03
to
4fdd928
Compare
renovate
bot
changed the title
Update dependency nicklockwood/SwiftFormat to v0.53.10
Update dependency nicklockwood/SwiftFormat to v0.54.0
Jun 11, 2024
renovate
bot
force-pushed
the
renovate/nicklockwood-swiftformat-0.x
branch
from
July 10, 2024 20:32
4fdd928
to
32fd294
Compare
renovate
bot
changed the title
Update dependency nicklockwood/SwiftFormat to v0.54.0
Update dependency nicklockwood/SwiftFormat to v0.54.1
Jul 10, 2024
renovate
bot
force-pushed
the
renovate/nicklockwood-swiftformat-0.x
branch
from
July 22, 2024 10:45
32fd294
to
37b7bcd
Compare
renovate
bot
changed the title
Update dependency nicklockwood/SwiftFormat to v0.54.1
Update dependency nicklockwood/SwiftFormat to v0.54.2
Jul 22, 2024
renovate
bot
force-pushed
the
renovate/nicklockwood-swiftformat-0.x
branch
from
July 28, 2024 18:23
37b7bcd
to
55e140d
Compare
renovate
bot
changed the title
Update dependency nicklockwood/SwiftFormat to v0.54.2
Update dependency nicklockwood/SwiftFormat to v0.54.3
Jul 28, 2024
renovate
bot
force-pushed
the
renovate/nicklockwood-swiftformat-0.x
branch
from
September 7, 2024 01:12
55e140d
to
02f84cd
Compare
renovate
bot
changed the title
Update dependency nicklockwood/SwiftFormat to v0.54.3
Update dependency nicklockwood/SwiftFormat to v0.54.4
Sep 7, 2024
renovate
bot
force-pushed
the
renovate/nicklockwood-swiftformat-0.x
branch
from
September 11, 2024 21:57
02f84cd
to
df552de
Compare
renovate
bot
changed the title
Update dependency nicklockwood/SwiftFormat to v0.54.4
Update dependency nicklockwood/SwiftFormat to v0.54.5
Sep 11, 2024
renovate
bot
force-pushed
the
renovate/nicklockwood-swiftformat-0.x
branch
from
October 8, 2024 19:57
df552de
to
264159a
Compare
renovate
bot
changed the title
Update dependency nicklockwood/SwiftFormat to v0.54.5
Update dependency nicklockwood/SwiftFormat to v0.54.6
Oct 8, 2024
renovate
bot
force-pushed
the
renovate/nicklockwood-swiftformat-0.x
branch
from
November 16, 2024 21:33
264159a
to
73165cd
Compare
renovate
bot
changed the title
Update dependency nicklockwood/SwiftFormat to v0.54.6
Update dependency nicklockwood/SwiftFormat to v0.55.0
Nov 16, 2024
renovate
bot
force-pushed
the
renovate/nicklockwood-swiftformat-0.x
branch
from
November 21, 2024 00:22
73165cd
to
41c13b5
Compare
renovate
bot
changed the title
Update dependency nicklockwood/SwiftFormat to v0.55.0
Update dependency nicklockwood/SwiftFormat to v0.55.1
Nov 21, 2024
renovate
bot
force-pushed
the
renovate/nicklockwood-swiftformat-0.x
branch
from
November 24, 2024 09:29
41c13b5
to
52ccc42
Compare
renovate
bot
changed the title
Update dependency nicklockwood/SwiftFormat to v0.55.1
Update dependency nicklockwood/SwiftFormat to v0.55.2
Nov 24, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
None yet
0 participants
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.48.4
->0.55.2
Release Notes
nicklockwood/SwiftFormat (nicklockwood/SwiftFormat)
v0.55.2
Compare Source
unusedArguments
failed to remove arguments that matched switch variable bindingsunusedArguments
failed to remove arguments that matched nested function call labelsblankLinesAtStartOfScope
when usingorganizeDeclarations
rulewrap
rule lint errorspreferKeyPaths
rule now handles the\\.self
case for Swift 5.10 and later\.?
v0.55.1
Compare Source
docCommentsBeforeModifiers
got confused byenum
cases that match modifier nameswrapEnumCases
would mangle nested or successiveenum
declarationsv0.55.0
Compare Source
docCommentsBeforeModifiers
rule to hoist doc comments above declaration modifiersunusedPrivateDeclarations
rule to remove unusedprivate
orfileprivate
declarationspropertyTypes
rule to control the use of inferred or explicit types for properties--redundanttype
option to--propertytypes
as it's shared by both rules--ranges preserve
and--operatorfunc preserve
options--languagemode
option to specify if you are using Swift 5 or 6 language modeorganizeDeclarations
rule can now sort declarations by name/type/visibility/etcorganizeDeclarations
bug where--beforemarks
unexpectedly matched keywords in function bodiesorganizeDeclarations
rulemarkTypes
rule for chained protocol extension names--onelineforeach
option to--inlinedforeach
--outputtokens
option to print output as tokens in JSON formatv0.54.6
Compare Source
wrapMultilineStatementBraces
ruleparseDeclarations
where incorrect tokens could cause rules to time outorganizeDeclarations
would add extra blank lines if type had blank lines with spacespreferForLoop
rulev0.54.5
Compare Source
unusedArguments
rulepreferForLoop
failed ifforEach
containsguard ... else { return }
v0.54.4
Compare Source
return
was incorrectly removed insidecatch
statement withwhere
clauseopaqueGenericParameters
rule being incorrectly applied to functions with typedthrows
spaceAroundBrackets
behaving incorrectly inside a macro invocationunusedArguments
false positive inside multiline string literalreturn
resulted in non-compiling code for opaque return typesVoid
return type is now removed from functions in protocol declarationsunusedArguments
didn't handle conditional assignment shadowing correctlyv0.54.3
Compare Source
--wrapeffects never
could unexpectedly remove unrelated code--condassignment
option (setting this previously had no effect)redundantReturn
rule no longer removes conditionalreturn
s ifconditionalAssignment
is disabledredundantObjc
rule now strips implicit@objc
attribute for@IBSegueAction
functionsv0.54.2
Compare Source
blankLinesBetweenChainedFunctions
rule now removes blank line after comments in the chainblankLinesBetweenChainedFunctions
rule no longer conflicts withblankLinesAroundMark
redundantInternal
removing requiredinternal
keyword in extensions withwhere
clausereturn
removal in conditional blocksredundantNilInit
rule insertingnil
afteras
keywordv0.54.1
Compare Source
--nilInit insert
option is no longer applied to lazy or attributed propertiesblankLinesBetweenChainedFunctions
rule now correctly handles comments in the chain--fragment
modereturn
in conditional blocks--lint
mode reporter output when usingstdin
v0.54.0
Compare Source
blankLineAfterSwitchCase
rule for inserting blank lines after switch casesconsistentSwitchCaseSpacing
rule for ensuring consistent spacing between switch casesredundantProperty
rule for removing variable assignments where value is immediately returnedredundantTypedThrows
rule for stripping redundantNever
orany Error
throws
types--report
without--reporter
type now raises an error if type can't be inferred--reporter xml
option)--typedelimiter
option for controlling spacing around the colon in type definitions--initcodernil
option for returningnil
instead of asserting in unavailableinit?(coder:)
fileHeader
rule now uses git info forcreated
date (if available) instead of file systemauthor
,author.name
andauthor.email
tokens for file header templates--callsiteparen
option for controlling closing paren placement at function call siteswrapAttributes
rule can now be applied differently to computed properties vs stored propertieswrapAttributes
rule can now be applied differently to complex (parameterized) vs simple attributes--varattributes
with--storedvarattrs
,--computedvarattrs
and--complexattrs
options—-nilinit
option for controlling whetherredundantNilInit
adds or removes explicitnil
--organizationmode type
)organizeDeclarations
for structs causedsortDeclarations
to have no effectopaqueGenericParameters rule
init
and_modify
property accessorspreferForLoop
rule and tuple argument matchingconditionalAssignment
rule to handle more cases--condassignment after-property
optionself
within macrosos_log
to--selfrequired
defaultsv0.53.10
Compare Source
stdout
directory when using--output stdout
unusedArguments
false positive for multiline function call arguments~
operator--report
or--reporter
argumentsstrongifiedSelf
removing required backticks around nonisolatedself
default
value for--reporter
(introduced in 0.53.9)sending
keywordv0.53.9
Compare Source
unusedArguments
when shadowing function argument with conditional assignment declaration--lint
errors are no longer shown in--quiet
mode (restores pre-0.53.8 behavior)v0.53.8
Compare Source
--strict
option to emit non-zero exit code after applying changes in formatting modeenumNamespaces
rule is no longer applied to structs with macros that have generic argumentsopaqueGenericParameters
rule is no longer applied to structs with macros or attributesredundantParens
spuriously removed parens inside a closureredundantInit
mishandled a.init
after a ternary operatorv0.53.7
Compare Source
redundantParens
where first parens inside a closure were spuriously removedwrapEnumCases
rule mangling unindented caseswrapEnumCases
rule no longer wraps cases inside inline enum declarationsredundantInit
metatype heuristic to reduce false positivesv0.53.6
Compare Source
.
operator inside attribute argumentsredundantType
rule no longer strips required explicit type from@Model
class default valuesredundantInit
didn't work on collection typesredundantParens
rule now correctly handles@MainActor
closureseach X
parameter pack expressions--wrapreturntype if-multiline
didn't work with arrays, dictionaries, tuples, or generic typesspaceAroundParens/Brackets
rules now correctly insert a space afterborrowing
/consuming
andisolated
import
statements--doccomments preserve
option to preserve all doc comments, even if not followed by a declarationv0.53.5
Compare Source
nonisolated(unsafe)
modifierstry
orasync
after a string literal expression--lenient
modestatic
/class
modifiersv0.53.4
Compare Source
enumNamespaces
rule is no longer applied to structs with attributes or macrosnonisolated(unsafe)
modifier is now handled correctlydo throws(Type) { ... }
clausesv0.53.3
Compare Source
preferForLoop
rule now correctly singularizes loop conditions that end with "cases"preferForLoop
mangled throwing or asyncforEach
expressionsorganizeDeclarations
was enabled but excluded declaration type@unknown default
casesenumNamespaces
rulethrows
v0.53.2
Compare Source
hoistAwait
rule could moveawait
beforetry
keywordredundantSelf
rule was confused by@MainActor
annotationunusedArguments
removed required argument insideguard
v0.53.1
Compare Source
stdout
directory when using--output stdout
unusedArguments
false positive for multiline function call arguments~
operator--report
or--reporter
argumentsstrongifiedSelf
removing required backticks around nonisolatedself
default
value for--reporter
(introduced in 0.53.9)sending
keywordv0.53.0
Compare Source
preferForLoop
rule to convertforEach { ... }
calls to regularfor
loopswrapLoopBodies
rule to wrap single-line loop bodies over multiple linesnoExplicitOwnership
rule to remove unwantedborrowing
andconsuming
modifierswrapMultilineConditionalAssignment
rule to wrapif
orswitch
expressions to new linewrapAttributes
rule no longer unwraps attributes if they would exceed--maxwidth
typeSugar
rule's--shortoptionals
option now defaults toexcept-properties
blankLinesBetweenChainedFunctions
rule by defaultblankLineAfterImports
rule by defaultself
being incorrectly inserted beforeset
clause in computed propertiesparseType()
helper function where qualified types were not recognizedv0.52.11
Compare Source
if
/switch
expression workaround for Swift 5.9 bug to handleas!
castsredundantSelf
rulev0.52.10
Compare Source
enumNamespaces
rule breakingimport struct
/class
statementsconditionalAssignment
rule toswitch
statements containing#if
blocksv0.52.9
Compare Source
redundantClosure
removing required closure around conditional statementsredundantClosure
removing closure containing conditional expressions inside a method callredundantClosure
generating invalid code when theredundantReturn
rule is disabledas?
cast would break build in Swift 5.9blankLineAfterImports
introducing spurious blank line before@preconcurrency
attributeenumNamespaces
rule wouldn't be applied immediately after animport
statementswitch
case with multiplewhere
clauses could be parsed incorrectlyv0.52.8
Compare Source
redundantClosure
rule in cases where anif
/switch
expression is not permitteddocComments
rule now correctly handles macro commentsdocComments
rule is now only applied to a comment block if all lines match the patternv0.52.7
Compare Source
conditionalAssignment
andredundantClosure
rules would be applied incorrectlyredundantClosure
rule leaving straytry
orawait
keywords behindv0.52.6
Compare Source
redundantReturn
rule was incorrectly applied to consecutiveif
statements in Swift 5.9v0.52.5
Compare Source
redundantReturn
rule could break fallible initializers in Swift 5.9docComments
rule inside#if
statementsdocComments
rule no longer treats comments starting withNote:
as a special directive#if
statements immediately preceded by a commentbraces
rule when no--maxwidth
is specified--asynccapturing
listv0.52.4
Compare Source
docComments
rule incorrectly replacing comments inside switch cases and if/guard conditionsredundantLet
rule removing requiredlet
insideViewBuilder
modifiersredundantLet
rule removing requiredlet
after@MainActor
or@Sendable
--wrapconditions after-first
if first line of condition is a commentsortTypealiases
rule to also remove duplicate protocols in declarationv0.52.3
Compare Source
try
inside multiline string literal interpolationstry
inside generic type initializer callsreturn
statements added while debugging would be incorrectly removedv0.52.2
Compare Source
Self
being incorrectly removed inlet
orif let
expressions// swiftformat:disable
directive not working forredundantReturn
rulev0.52.1
Compare Source
if
/switch
expression workaround for Swift 5.9 bug to handleas!
castsredundantSelf
rulev0.52.0
Compare Source
redundantInternal
rule to remove redundantinternal
access modifierssortTypealiases
rule to sorttypealias
types alphabeticallyheaderFileName
rule to ensure filename in header comment matches actual fileredundantStaticSelf
rule to remove redundantself
inside static functionsblankLinesBetweenChainedFunctions
rule to remove blank lines inside function chainsapplicationMain
rule to remove obsolete@UIApplicationMain
and@NSApplicationMain
attributessortedSwitchCases
rule tosortSwitchCases
for consistencysortedImports
rule tosortImports
for consistencyreturn
is now correctly removed in switch cases with associated valuesredundantSelf
ruleelse
statement is now preservedv0.51.15
Compare Source
unusedArguments
rule that caused used parameters to be marked unused/
operatorv0.51.14
Compare Source
v0.51.13
Compare Source
redundantSelf
rule to be silently disabledunusedArguments
would remove an argument that was used after anif
$
identifierpackage
keyword inorganizeDeclarations
rulev0.51.12
Compare Source
hoistTry
bugs with generics, subscripts and collection literalstry?
andtry
try
inside an optional functionin
was mistaken for part of afor
looppackage
access modifierconsume
anddiscard
operatorsborrowing
andconsuming
modifiersv0.51.11
Compare Source
redundantSelf
rulehoistTry
rule failed with more than 10try
expressions at the same scope levelTODO:
directives are no longer converted by thedocComments
rulev0.51.10
Compare Source
wrapAttributes
rule due toclass
declaration being mistaken for class-scoped var#ifdef
blocksortedSwitchCases
v0.51.9
Compare Source
typeSugar
rule unwrapping Optionalsome/any
without inserting required parentheses#ifdef
block after a closing bracev0.51.8
Compare Source
redundantSelf
removing non-unwrapped weakself
inside closuresfileprivate
rule makinginit
private when inherited by subclass in the same filehoistPatternLet
rule insertinglet
inside dictionary type literalunusedArguments
incorrectly removing used argument after conditional compilation blockunusedArguments
rule error handlingv0.51.7
Compare Source
redundantSelf
incorrectly insertingself
for local variables declared in capture listblankLineAfterImports
rule inserting blank line before@_spi
importsfileHeader
rule ignoring headers containing URLsv0.51.6
Compare Source
self
is now preserved in function bodies inside closures with[weak self]
captureshoistTry
inside chains of concatenated interpolated strings#else
and#elseif
blocksredundantSelf
rulev0.51.5
Compare Source
--baseconfig
option to replicate old--config
behaviorself
being incorrectly inserted inside capture list.init
inside#if
statementsredundantInit
glitch inside#if
statementsredundantSelf
insideif case
expressionshoistTry
for strings containing multiple interpolation clausesreturn
keyword--funcattributes same-line
unusedArguments
v0.51.4
Compare Source
redundantReturn
inside if / switch expressions to Swift 5.9+hoistTry
andhoistAwait
inside multiline string literalsv0.51.3
Compare Source
hoistTry
andhoistAwait
rule breaking string interpolationsopaqueGenericParameters
rule would remove non-redundant generic typeredundantSelf
rule parsing bug affecting string literalsv0.51.2
Compare Source
hoistTry
rule breaking multiline function chains--asynccapturing
and--throwcapturing
options forhoistTry
andhoistAwait
rulesv0.51.1
Compare Source
unusedArguments
rule that caused used parameters to be marked unused/
operatorv0.51.0
Compare Source
hoistAwait
andhoistTry
rules to hoist inlineawait
/try
to start of expressionredundantPattern
rule to remove redundantlet
in patternswrapMultilineStatementBraces
rules is now applied more consistentlyredundantReturn
/Closure
rules to supportif
/switch
expressions in Swift 5.8conditionalAssignment
rule to assign variables usingif
/switch
expressions in Swift 5.8redundantType
rule to supportif
/switch
expression assignment Swift 5.8redundantSelf
rule to support implicitself
in eligible closures in Swift 5.8.swiftformat
files when explicit--config
file is provided--wrapenumcases with-values
option to only wrap enum cases with values--wrapeffects
option for wrapping function effectspreferDouble
rulev0.50.9
Compare Source
--reporter
option for details)redundantType
sometimes stripped in cases where it couldn't be inferredredundantType
rule now supports removing type in more cases where supportedopaqueGenericParameters
rulewrapAttributes
rule sometimes wrapped inline attributes like@MainActor
// swiftformat:options
comment directives.swiftformat
filev0.50.8
Compare Source
redundantBackticks
rule no longer removes required comments aroundself
docComments
rulesortedSwitchCases
rulesortedSwitchCases
rulevar
propertiesv0.50.7
Compare Source
try
orawait
await
keywordv0.50.6
Compare Source
fileHeader
rule where blank lines were removed after header/var/tmp
^
characterv0.50.5
Compare Source
v0.50.4
Compare Source
docComments
rule to convert between regular and documentation commentsredundantLet
rule incorrectly strippinglet
inside Result Buildersvoid
rule in cases whereVoid
has been locally shadowedfileHeader
rule when file only contains header commentwrap
warning for blank linesredundantSelf
rulev0.50.3
Compare Source
redundantFileprivate
rule could break Array extensions using type sugarwrapSingleLineComments
rule relating to long URLswrapSingleLineComments
handling of comments containing long URLsopaqueGenericParameters
rule is now correctly applied to initializers and subscriptsopaqueGenericParameters
andgenericExtensions
to READMEv0.50.2
Compare Source
redundantImports
dropping@_implementationOnly
or@_exported
annotationsblankLineAfterImports
bug affecting@_implementationOnly
or@_exported
importsgenericExtensions
and nested genericsopaqueGenericParameters
rulev0.50.1
Compare Source
opaqueGenericParameters
where type constraint depended on another type parameteropaqueGenericParameters
rule where type constraint contained closure typeopaqueGenericParameters
broke variadic parameter expressionswrapSingleLineComments
ruleandOperator
rulev0.50.0
Compare Source
genericExtensions
rule for simplifying conditional type extensions in Swift 5.7markTypes
support for type definitions in extensionsopaqueGenericParameters
rule to use opaque generic parameter syntax where equivalentblankLineAfterImports
ruleredundantOptionalBinding
rule for simplifyingif let
expressions in Swift 5.7--enumnamespaces structs-only
optionwrapSingleLineComments
rule--swiftversion
in the.swiftformat
config now takes precedence over.swift-version
file.swiftformat
config files are no longer mergedv0.49.18
Compare Source
unusedArguments
when argument is shadowed in aswitch
case statementenumNamespaces
rule breakingopen
class declarationsredundantLet
removinglet
incorrectly inasync let
statement--xcodeindentation
optionv0.49.17
Compare Source
<<
operatorasync:
would expectedly be indentedv0.49.16
Compare Source
async let
indenting regression (broken in 0.49.15)v0.49.15
Compare Source
await case
was incorrectly interpreted as ending the current scopeasync throws
was indented incorrectlyandOperator
rule could introduce parser ambiguityv0.49.14
Compare Source
unusedArguments
rule incorrectly removingasync
keyword from closure argumentsunusedArguments
not being applied correctly to throwing closures@unchecked Sendable
enumwrapAttributes
rule is applied--typeblankline
option forblankLinesAtStartOfScope
andblankLinesAtEndOfScope
rulesSCRIPT_INPUT_FILE
argumentsv0.49.13
Compare Source
for...in
mistaken for closurein
in indent rule@MainActor
v0.49.12
Compare Source
/
operatorin
v0.49.11
Compare Source
/
operator (as used in CasePath library)wrapMultilineStatementBraces
rulev0.49.10
Compare Source
wrapMultilineStatementBraces
andindent
rules$
prefix were incorrectly marked as unusedenumNamespaces
bug whereclass
modifiers were mistakenly converted toenum
preferKeyPath
mangled functions using multiple trailing closure syntaxv0.49.9
Compare Source
redundantVoidReturnType
failed to removeVoid
unusedArguments
regression introduced in 0.49.8v0.49.8
Compare Source
redundantInit
rule removing required init when instantiating type variablesunusedArguments
incorrectly marking shadowed parameters as used or unused in some casesv0.49.7
Compare Source
self
is now correctly removed inif let
assignmentsunusedParens
rule for new shorthandif let
syntax in Swift 5.7v0.49.6
Compare Source
redundantParens
rule removed required parens inany
type expressionssome
/any
keywords// swiftformat:sort
was applied to an enum with only one casev0.49.5
Compare Source
redundantClosure
incorrectly inlined throwing closures--exclude
path matching failed when using--stdinpath
typeSugar
rule when overriding stdlib types locally in your codewrapMultilineStatementBraces
disabled// swiftformat:sort
directive to sort declarations by name--disable all
or--enable all
as shorthand for all rulesRules.md
file are now grouped by their default/enabled statusv0.49.4
Compare Source
blockComments
rule removing leading*
s used as bullet points--wrapparameters
option--allman
indentingv0.49.3
Compare Source
let
being removed inside View BuildersblockComments
rule mangling code on next line after comment (really this time)self
insideif
statements containing postfix operators--selfrequired
behavior inside interpolated stringsv0.49.2
Compare Source
redundantType
ruleredundantSelf
rule removingself
from shadowed variables after anas
/is
conditionredundantClosure
rule could break the build for certainVoid
closuresblockComments
rule mangling code on next line after commentredundantClosure
rule is no longer applied if closure calls a method that returnsNever
v0.49.1
Compare Source
unusedArguments
when argument is shadowed in aswitch
case statementenumNamespaces
rule breakingopen
class declarationsredundantLet
removinglet
incorrectly inasync let
statement--xcodeindentation
optionv0.49.0
Compare Source
redundantType
rule can now remove redundant types for properties initialized with literal valuesredundantType
rule now removes types only for local variables by default (to aid compilation performance)assertionFailures
rule for automatically convertingassert(false, ...)
toassertionFailure(...)
acronyms
rule to auto-capitalize acronyms (disabled by default)preferDouble
rule to replaceCGFloat
withDouble
on Swift 5.5 and above (disabled by default)wrapConditionalBodies
rule to unwrap single-line guard and if statements (disabled by default)blockComments
rule to replace multiline block comments with line comments (disabled by default)blankLinesBetweenImports
rule to remove blank lines between import statements (disabled by default)redundantClosure
rule to remove unnecessary closure wrappers--lineaftermarks
option to add/remove a blank line after// MARK:
comments--markCategories
option fororganizeDeclarations
rule--wrapternary
option for controlling how ternary operators are wrapped--wraptypealiases
option for controlling how typealiases are wrapped--indentstrings
option for controlling how multiline strings are indentedredundantParens
rule to handle more caseswrapMultilineStatementBraces
rule to handle more casesredundantVoidReturnType
rule to apply to closure return valuesconsecutiveBlankLines
rule would strip linebreaks inside multiline string--xcodeindentation
v0.48.18
Compare Source
redundantObjc
bug whereprivate(set)
prevented@objc
attribute from being stripped#if
/#else
/#endif
blocks--selfrequired
exclusion list is now applied to nested expressions within function's argumentsredundantSelf
rule that raised spurious error about missing}
--filelist
files were incorrectly reportedv0.48.17
Compare Source
trailingCommas
rule added comma to wrapped capture list with commentredundantArguments
rule stripped params used in pattern matching with inline letredundantArguments
failed to detect shadowed param after tuple assignmentv0.48.16
Compare Source
try
expressionsredundantInit
could cause compilation failurev0.48.15
Compare Source
unusedArgument
rule when usingtry
/await
redundantSelf
ruleredundantSelf
exclusion list was not always appliedv0.48.14
Compare Source
v0.48.13
Compare Source
unusedArguments
incorrectly marked shadowed parameters as unusedv0.48.12
Compare Source
redundantSelf
rule now removesself
from shadowed variable references where permittedself
was not correctly removed on the line following an assignmentself
was incorrectly removed from@dynamicMemberLookup
membersself
caused ambiguity with global Swift functions--selfrequired
option now applies to members, not just@autoclosure
argumentswrapEnumCases
rulesome(Void)
was converted tosomeVoid
editDistance()
functionv0.48.11
Compare Source
redundantSelf
could potentially misidentify tuple labels as local variablesv0.48.10
Compare Source
redundantBackticks
rule incorrectly removing required backticks around underscoreredundantSelf
with guard conditions containing inline closuresv0.48.9
Compare Source
v0.48.8
Compare Source
v0.48.7
Compare Source
redundantParens
rule could introduce an ambiguity by removing parens around a range argumentunowned(unsafe)
capture argument would be mangled byunusedArguments
rulev0.48.6
Compare Source
actor
variables were incorrectly interpreted as a keyword in certain casesredundantBackticks
rule no longer removes required backticks aroundactor
propertiesConfiguration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ 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.