@jpsim jpsim released this Nov 29, 2018 · 78 commits to master since this release

Assets 5

Breaking

  • None.

Experimental

  • None.

Enhancements

  • Add redundant_objc_attribute to warn against already implied @objc
    attribute.
    Daniel Metzing
    #2193

  • Add vertical_whitespace_between_cases opt-in rule to enforce a single
    empty line between switch cases.
    Cihat Gündüz
    #1517

  • Add multiline_arguments_brackets opt-in rule to warn against multiline
    function call arguments with surrounding brackets without newline.
    Cihat Gündüz
    #2306

  • Add multiline_literal_brackets opt-in rule to warn against multiline
    literal arrays & dictionaries with surrounding brackets without newline.
    Cihat Gündüz
    #2306

  • Add multiline_parameters_brackets opt-in rule to warn against multiline
    function definition parameters with surrounding brackets without newline.
    Cihat Gündüz
    #2306

  • Ignore unspecified modifiers in modifier_order.
    Timofey Solonin
    #2435

  • The lint command now exits with a code of 2 when not using pinned
    version defined as swiftlint_version in the configuration file.
    Kim de Vos
    #2074

Bug Fixes

  • Fix false positive in nimble_operator rule.
    Marcelo Fabri
    #2489

  • Fix false positives on explicit_type_interface rule when
    configured with option allowRedundancy set to true.
    Cihat Gündüz
    #2425

  • Only mark custom rules as 'enabled in your config' in the output of the
    rules command when there are one or more configured custom rules.
    jhildensperger

  • Fix wrong correction when removing testable imports with the unused_import
    rule.
    JP Simard

  • Fix false positive with the unused_import rule when importing Foundation
    when there are attributes in that file requiring Foundation.
    JP Simard