SwiftLint v0.39.2 Release Notes

Release Date: 2020-04-04 // about 4 years ago
  • ๐Ÿš€ This is the last release to support building with Swift 5.0.x.

    ๐Ÿ’ฅ Breaking

    • None.

    Experimental

    • None.

    โœจ Enhancements

    • โž• Add configuration options to the unused_import rule to require
      explicit import statements for each module referenced in a source
      file (require_explicit_imports). When this setting is enabled,
      an allowed_transitive_imports setting may also be specified to allow
      ๐Ÿ‘€ a mapping of modules to transitively imported modules. See PR for
      ๐Ÿ‘• details: #3123
      JP Simard
      ๐Ÿ‘• #3116

    ๐Ÿ› Bug Fixes

    ๐Ÿ›  Fix more false positives in implicit_getter rule in extensions when using
    Swift 5.2.
    Marcelo Fabri
    ๐Ÿ‘• #3149

    Fix false positives in redundant_objc_attribute rule in extensions when
    using Swift 5.2.
    Marcelo Fabri

    ๐Ÿ›  Fix false positives in attributes rule when using rethrows using
    Swift 5.2.
    JP Simard

    ๐Ÿ›  Fix false positives in valid_ibinspectable rule when defining inspectable
    properties in class extensions with computed properties using Swift 5.2.
    JP Simard