@jpsim jpsim released this Jan 8, 2018 · 603 commits to master since this release

Assets 5
  • None.
  • Invalidate cache when Swift patch version changes.
    Norio Nomura

  • Add private_action opt-in rule which warns against public
    @IBAction methods.
    Ornithologist Coder

  • Add yoda_condition opt-in rule which warns when Yoda conditions are used.
    That is, when the constant portion of the expression is on the left side of a
    conditional statement.
    Daniel Metzing

  • Indentation can now be specified via a configuration file.
    Noah McCann

  • Add required_enum_case opt-in rule which allows enums that
    conform to protocols to require one or more cases. Useful for
    result enums.
    Donald Ritter

  • Add discouraged_object_literal opt-in rule which encourages initializers
    over object literals.
    Ornithologist Coder

  • Adds prefixed_toplevel_constant opt-in rule which encourages top-level
    constants to be prefixed by k.
    Ornithologist Coder

  • Added explicit_acl opt-in rule to enforce explicit access control levels.
    Josep Rodriguez

Bug Fixes
  • Fix false positives in control_statement rule when methods with keyword
    names are used.
    Marcelo Fabri

  • Fix false positives in for_where rule when pattern matching (if case)
    is used.
    Marcelo Fabri

  • Fix false positives in unused_closure_parameter rule when closure is wrapped
    in parentheses.
    JP Simard