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 beprivate
.
Olivier Halligonβ Add content of the todo statement to message.
J. Cheyo Jimenez #478β Add
LegacyNSGeometryFunctionsRule
rule. AddNSSize
,NSPoint
, andNSRect
constants and constructors to existing rules.
David RΓΆnnqvistβ Added Vertical Whitespace Rule.
J. Cheyo Jimenez #548β Removed ConditionalBindingCascadeRule.
J. Cheyo Jimenez #701Allow setting
flexible_right_spacing
configuration for thecolon
rule.
Shai Mishali #730β Add Junit reporter.
Matthew EllisLeadingWhitespaceRule 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
π Bug Fixes
π Fixed CustomRule Regex.
J. Cheyo Jimenez #717 #726π Allow disabling custom rules in code.
J. Cheyo Jimenez #515π Fix LegacyConstructorRule when using variables instead of numbers.
Sarr Blaise #646π Fix force_unwrapping false positive inside strings.
Daniel Beard #721