SwiftFormat v0.45.2 Release Notes

Release Date: 2020-08-01 // over 3 years ago
    • You can now tweak formatting options inside source files using // swiftformat:options ... directive
    • The wrapMultilineStatementBraces rule is now applied to more statement types
    • 🛠 Fixed spurious lint warnings due to conflict between braces and wrapMultilineStatementBraces rules
    • 🛠 Fixed several bugs in redundantSelf rule relating to for loops
    • 🛠 Fixed bug with indenting of closure arguments
    • 🛠 Fixed unsafe removal of backticks around init
    • Rules can now raise an error if they encounter malformed code instead of failing silently
    • 🗄 SwiftFormat for Xcode app no longer shows deprecated rules in the rules tab