SwiftLint v0.11.2 Release Notes

  • πŸš€ This release has seen a phenomenal uptake in community contributions!

    πŸ’₯ Breaking
    • None.
    ✨ Enhancements
    • βž• Add MarkRule rule to enforce // MARK syntax.
      Krzysztof Rodak #749

    • βž• Add PrivateOutletRule opt-in rule to enforce @IBOutlet instance variables to be private.
      Olivier Halligon

    • βž• Add content of the todo statement to message.
      J. Cheyo Jimenez #478

    • βž• Add LegacyNSGeometryFunctionsRule rule. Add NSSize, NSPoint, and NSRect constants and constructors to existing rules.
      David RΓΆnnqvist

    • βž• Added Vertical Whitespace Rule.
      J. Cheyo Jimenez #548

    • βœ‚ Removed ConditionalBindingCascadeRule.
      J. Cheyo Jimenez #701

    • Allow setting flexible_right_spacing configuration for the colon rule.
      Shai Mishali #730

    • βž• Add Junit reporter.
      Matthew Ellis

    • LeadingWhitespaceRule is now auto correctable.
      masters3d

    • βž• Add included regex for custom rules to control what files are processed.
      bootstraponline #689

    • βž• Add rule to check for private unit tests (private unit tests don't get run by XCTest).
      Cristian Filipov

    • βž• Add configuration for setting a warning threshold.
      woodhamgh 696

    • βž• Adds 'ConditionalReturnsOnNewLineRule' rule.
      Rohan Dhaimade

    • Made - returns: doc optional for initializers.
      Mohpor #557

    πŸ› Bug Fixes