SwiftFormat v0.28.0 Release Notes

Release Date: 2017-03-24 // about 7 years ago
    • โž• Added --self insert option to optionally insert self when accessing member variables/functions
    • The --self and --stripunusedargs arguments can now be inferred automatically using --inferoptions
    • ๐Ÿ”€ SwiftFormat now detects and rejects source files that contain merge conflict markers
    • โž• Added --conflictmarkers option to optionally ignore conflict markers (e.g. if they clash with a custom operator)
    • The redundantSelf rule now correctly strips self from computed var setters and getters
    • The redundantSelf rule now handles static and class variables/functions correctly
    • ๐Ÿ›  Fixed a potential bug where command-line tool might get stuck in an infinite loop
    • ๐Ÿ›  Fixed a bug where a invalid source code could causes variables to be incorrectly removed
    • ๐Ÿ›  Fixed some bugs in error reporting