@marcelofabri marcelofabri released this Feb 12, 2018 · 549 commits to master since this release

Assets 5

Breaking

  • None.

Enhancements

Bug Fixes

  • Fix some cases where colon rule wouldn't be autocorrected.
    Manabu Nakazawa

  • Fix false positives in explicit_acl rule when declaring functions and
    properties in protocols or implementing deinit.
    Marcelo Fabri
    #2014

  • Fix false negatives in unneeded_parentheses_in_closure_argument rule
    when using _ as one of the closure arguments.
    Marcelo Fabri
    #2017

  • Fix several rules that use attributes when linting with a Swift 4.1 toolchain.
    Marcelo Fabri
    #2019

  • Don't trigger violations in let_var_whitespace rule when using local
    variables when linting with a Swift 4.1 toolchain.
    Marcelo Fabri
    #2021

  • Improve type_name rule violations to be positioned on the type name.
    Marcelo Fabri
    #2021

  • Use SourceKit to validate associatedtype and typealias in type_name rule
    when linting with Swift 4.1.
    Marcelo Fabri
    #2021

  • Fix some cases where violations would still be triggered when using the
     ignores_function_declarations configuration of line_length rule.
     Manabu Nakazawa

  • Fix false positive in empty_enum_arguments rule when using closures.
    Marcelo Fabri
    #2041

  • Fix false positives in force_unwrapping rule when declaring functions that
    return implicitly unwrapped collections (for example [Int]! or
    [AnyHashable: Any]!).
    Marcelo Fabri
    #2042

  • Fix directories with a .swift suffix being treated as files.
    Jamie Edge
    #1948