- Added
--emptybraces
to control how empty braces are formatted - The
redundantReturn
rule now removes redundantreturn
statements in Void functions - The
redundantParens
rule now removes redundant parens around closure arguments - Fixed parsing error with complex
guard
statements - Extended
prefersKeyPath
to supportcontains
,allSatisfy
andfilter
methods - Fixed matching of excluded paths containing ../
- Added support for using globs/wildcards in input paths
- Eliminated false positives in change list when using
--lint
mode - File header comments are now inserted after the shebang/hashbang in executable Swift scripts
- Xcode Extension now silently ignores rules requiring file info that isn't available to extensions
- Fixed bug where
wrapEnumCases
rule was incorrectly applied toif case
orguard case
- Added
--report
argument for exporting formatting changes or lint violations as a JSON file - Improved tab layout in SwiftFormat for Xcode companion app