- Added
simplifyGenericConstraintsrule - Added
validateTestCasesrule - Added
testSuiteAccessControlrule - Added
wrapPropertyBodiesrule - Added
wrapFunctionBodiesrule - Added
redundantViewBuilderrule - Added
--ifdef preserveoption toindentrule - Added
--prefer-synthesized-init-for-internal-structsoption toredundantMemberwiseInitrule - Enabled more rules by default:
blankLinesBetweenImports,docComments,emptyExtensions,environmentEntry,noForceTryInTests,noForceUnwrapInTests,redundantAsync,redundantEquatable,redundantMemberwiseInit,redundantProperty,redundantThrows - Updated
typeSugarto only preserve explicitOptional<T>in structs with a synthesized memberwise initializer - Updated closing paren of single-argument functions and collections to wrap if needed
- Updated
redundantMemberwiseInitrule to support result builder attributes - Improved how
organizeDeclarationshandles structs with a synthesized memberwise initializer - Updated
docCommentsrule to preserve formatting of comments with directives - Fixed
--ifdef no-indenthandling of method chains and nested directives - Fixed issue where
XMLReporterdid not properly escape strings - Fixed support for
unsafekeyword - Fixed edge cases in
spaceAroundBracketsrule - Fixed crash in
sortTypealiasesrule - Fixed issue where
redundantSelfrule could crash if encountering a function with no body (e.g.@_silgen_name)