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