SwiftLint v0.29.0 Release Notes

  • πŸ’₯ Breaking
    • πŸ‘• SwiftLint now requires Swift 4.2 or higher to build.
      JP Simard
    Experimental
    • None.
    ✨ Enhancements
    • πŸ‘Œ Improve the performance of saving or reading cached lint results on platforms with CommonCrypto.
      JP Simard

    • βž• Add markdown reporter which outputs markdown-formatted tables, ideal for rendering in GitLab or GitHub.
      Dani Vela

    • βž• Add testSimulateHomebrewTest() to IntegrationTests that simulates test in homebrew-core/Formula/swiftlint.rb within sandbox.
      Norio Nomura

    πŸ› Bug Fixes
    • πŸ›  Fix compiler warnings when building with Swift 4.2 introduced in the last release.
      JP Simard

    • πŸ›  Fix false positive in explicit_init rule.
      Dominic Freeston

    • πŸ›  Fix toggle_bool false positive violation when comparing object parameter to an equally named variable.
      Timofey Solonin #2471

    • πŸ›  Fix false positive on file_name rule with specific patterns.
      Cihat GΓΌndΓΌz #2417

    • Fix crash in no_fallthrough_only and potentially other rules when linting files with unicode characters in certain locations.
      JP Simard #2276

    • πŸ›  Fix violations with no character/column location not being reported in xcpretty. Now violations with no column location default to a column value of 1 indicating the start of the line.
      JP Simard #2267