Bug fixes
- #444: Fix an incorrect autocorrect for
Performance/BlockGivenWithExplicitBlock
when usingNaming/BlockForwarding
's autocorrection together. (@a-lavis) - #500: Mark
Performance/MapCompact
cop as unsafe. (@jbpextra) - #498: Fix
Performance/Count
cop error on empty selector block. (@viralpraxis) - #504: Fix autocorrection syntax error for
Performance/Count
with multiline calls. (@lovro-bikic)
Changes
- #512: Detect negated conditions like
!foo.start_with('bar') && !foo.start_with('baz')
withPerformance/DoubleStartEndWith
. (@earlopain)