Skip to content

0.29.3: Entangled Agitator

Compare
Choose a tag to compare
@jpsim jpsim released this 08 Jan 00:31
bd0f78a

Breaking

  • None.

Experimental

  • Skip @IBInspectable and deinit declarations in
    unused_private_declaration.
    JP Simard

Enhancements

  • Allow configuring discouraged_object_literal rule to only discourage one
    kind of object literal.
    Marcelo Fabri
    #2439

  • Adds xct_specific_matcher opt-in rule to enforce specific matchers
    over XCTAssertEqual and XCTAssertNotEqual.
    Ornithologist Coder
    #1874

  • Add last_where opt-in rule that warns against using
    .filter { /* ... */ }.last in collections, as
    .last(where: { /* ... */ }) is more efficient.
    Marcelo Fabri

  • Add unused_control_flow_label rule to validate that control flow labels are
    used.
    Marcelo Fabri
    #2227

Bug Fixes

  • Fix false positives on first_where rule when calling filter without a
    closure parameter (for example on a Realm collection).
    Marcelo Fabri

  • Fix false positives on sorted_first_last rule when calling sorted with
    a different argument than by: (e.g. on a Realm collection).
    Marcelo Fabri
    #2533

  • Fix false positives on redundant_objc_attribute rule when using nested
    types.
    Marcelo Fabri
    #2539

  • Fix false positives on vertical_whitespace_between_cases rule when a blank
    line is present but it contains trailing whitespace.
    Ben Staveley-Taylor
    #2538