0.45.1
版本发布时间: 2021-11-30 05:52:18
realm/SwiftLint最新发布版本:0.57.0(2024-09-09 00:02:39)
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
1、 portable_swiftlint.zip 6.85MB
2、 SwiftLint.pkg 6.85MB
3、 swiftlint_linux.zip 25.46MB