github realm/SwiftLint 0.45.1
0.45.1: Clothes Drying Hooks

latest releases: 0.57.0, 0.56.2, 0.56.1...
2 years ago

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 using Self 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 considering SwiftShims as a
    used import.
    JP Simard

  • Fix false positives on large_tuple rule when using async 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

Don't miss a new SwiftLint release

NewReleases is sending notifications on new releases.