SwiftLint v0.16.1 Release Notes
-
💥 Breaking
- None.
✨ Enhancements
Improve
unused_optional_binding
rule on tuples check.
Rafael Machado⚡️ Update
variable_name
to ignore overrides.
Aaron McTavish #1169⚡️ Update
number_separator
rule to allow for specifying minimum length of fraction.
Bjarke Søndergaard #1200⚡️ Update
legacy_constant
rule to supportCGFloat.pi
andFloat.pi
.
Aaron McTavish #1198
🐛 Bug Fixes
🛠 Fix false positives on
shorthand_operator
rule.
Marcelo Fabri #1156 #1163Fix false positive on
redundant_optional_initialization
rule.
Marcelo Fabri #1159Fix false positive on
operator_usage_whitespace
rule with decimal literals in exponent format.
Marcelo Fabri #1153🛠 Fix
excluded
configuration not excluding files.
Marcelo Fabri #1166Disable 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 either2
or3
to force that operation mode, bypassing the Swift version determined from SourceKit.
JP Simard