- Added
redundantSwiftTestingSuiterule - Added
redundantSendablerule - Added
preferExpicitFalserule - Added support for
::module selector syntax - Added support for value generics syntax
- Updated
swiftTestingTestCaseNamesto use raw identifiers by default - Updated
swiftTestingTestCaseNamesto use UpperCamelCase for test suite names - Updated
redundantSelfto handleguardstatements - Updated
unusedArgumentsto handle for loop variables - Updated
redundantTypeto better handleSetliterals - Updated
redundantParentsto remove empty parens from attributes - Updated
sortImportsto sort imports by access control - Updated
blankLinesBetweenImportsto preserve indentation when indent disabled - Updated
unusedPrivateDeclarationrule to preserve private@Testfunctions - Updated
preferSwiftTestingrule to convert tests in extensions within the same file - Updated
--stdin-pathto not require the file to actually exist - Updated
simplifyGenericConstraintsto avoid adding duplicate constraints - Updated
blankLinesAroundMarkto insert blank line before MARK at start of scope when allowed byblankLinesAtStartOfScopeconfig - Updated
redundantEquatableto preserve==implementation in types withStrideableconformance - Fixed handling of switch statements with
#ifblocks in several rules - Fixed issue where
asyncfunction declarations were wrapped usingwrapArgumentsinstead ofwrapParameters - Fixed issue where
redudantViewBuilderwould remove@ViewBuilderfrom protocol members - Fixed
redundantSelfparsing issue with throwing closure return types and switch expressions inif letcondition - Fixed
trailingCommasrule incorrectly adding commas to if#availablechecks - Fixed
guard...elseindentation inwrapArgumentswithwrap-conditions - Fixed issue where
simplifyGenericConstraintswould leave danglingwherekeyword in protocol members - Fixed issue where
trailingCommasdidn't handle closure capture lists with macro expressions - Fixed indentation for closure parameters on separate lines
- Fixed issue where
.initwould be removed in code like[Foo].init { ... }(not supported until Swift 6.4). - Fixed issue where
.swift-versionfiles were read from excluded directories - Fixed incorrect replacement of
&&operator with,inside a ternary condition - Fixed
unusedArgumentsbug in code withtry? await - Fixed handling of
MainActorattributes inredundantViewBuilder