SwiftLint v0.16.1 Release Notes

  • 💥 Breaking
    • None.
    ✨ Enhancements
    🐛 Bug Fixes
    • 🛠 Fix false positives on shorthand_operator rule.
      Marcelo Fabri #1156 #1163

    • Fix false positive on redundant_optional_initialization rule.
      Marcelo Fabri #1159

    • Fix false positive on operator_usage_whitespace rule with decimal literals in exponent format.
      Marcelo Fabri #1153

    • 🛠 Fix excluded configuration not excluding files.
      Marcelo Fabri #1166

    • Disable commutative operations on shorthand_operator rule.
      Marcelo Fabri #1182 #1183 #1211

    • 🛠 Fix crash when running in a Sandboxed environment, which also fixes Homebrew distribution. Set the SWIFTLINT_SWIFT_VERSION environment variable to either 2 or 3 to force that operation mode, bypassing the Swift version determined from SourceKit.
      JP Simard