Breaking
- None.
Experimental
- None.
Enhancements
-
Update Rule list documentation to distinguish between opt-in and
on-by-default rules.
Benny Wong -
Add opt-in
prefer_self_in_static_references
rule to warn if the
type name is used to reference static members the same type.
Prefer usingSelf
instead which is not affected by renamings.
SimplyDanny -
Add support for running SwiftLint as a
pre-commit hook.
Jesse Crocker
Hannes Ljungberg
Bug Fixes
-
Fix
unused_import
rule incorrectly consideringSwiftShims
as a
used import.
JP Simard -
Fix false positives on
large_tuple
rule when usingasync
closures.
Kaitlin Mahar
#3753 -
Fix false positive on
legacy_objc_type
rule when using
types with names that start with a legacy type name.
Isaac Ressler
#3555