SwiftLint v0.49.1 Release Notes
-
๐ Note: The default branch for the SwiftLint git repository was renamed from โก๏ธ
master
tomain
on September 1st. Please update any code or automation accordingly.๐ฅ Breaking
- None.
Experimental
- None.
โจ Enhancements
โ Add new
self_binding
opt-in rule to enforce thatself
identifiers are consistently re-bound to a common identifier name. Configurebind_identifier
to the name you want to use. Defaults toself
.
JP Simard #2495โ Add
--output
option to lint and analyze commands to write to a file instead of to stdout.
JP Simard #4048โ Add
--progress
flag to lint and analyze commands to show a live-updating progress bar instead of each file being processed.
JP Simard๐จ
--fix
now works with--use-stdin
, printing the output to to STDOUT instead of crashing.
SimplyDanny #4127
๐ Bug Fixes
โ Migrate
empty_xctest_method
rule to SwiftSyntax fixing some false positives.
SimplyDanny #3647 #3691Fix false positives in
redundant_discardable_let
when usingasync let
.
Martin Hosna #4142๐จ Consistently print error/info messages to stderr instead of stdout, which wasn't being done for errors regarding remote configurations.
JP Simard