SwiftFormat v0.48.16 Release Notes

Release Date: 2021-10-12 // 10 days ago
    • ๐Ÿ›  Fixed unexpected indentation of next line after a trailing closure
    • ๐Ÿ›  Fixed unexpected indentation of try expressions
    • ๐Ÿ›  Fixed bug where redundantInit could cause compilation failure
    • ๐Ÿ›  Fixed indenting of multiple trailing closures

Previous changes from v0.48.15

    • ๐Ÿ›  Fixed false positives in unusedArgument rule when using try/await
    • Closing paren indent is now balanced for double-indented closures
    • ๐Ÿ›  Fixed bug where comment directive failed to disable redundantSelf rule
    • ๐Ÿ›  Fixed bug where redundantSelf exclusion list was not always applied
    • ๐Ÿ›  Fixed regression introduced in 0.48.5 affecting indenting of wrapped closure bodies
    • SwiftFormat directives are now recognized in the middle of a comment