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
- : Detect negated conditions like with . ()