RuboCop: Remove redundant inline disables
What does this MR do and why?
This MR removes redundant inline disables for RSpec/MultipleMemoizedHelpers
and Lint/BinaryOperatorWithIdenticalOperands
.
In both cases, we saw the cops being disabled via Exclude
directives (TODO or permanent) and via rubocop:disable
inline.
This combination causes problems when upgrading to RuboCop 1.50.2. See !118399 (closed)
How to set up and validate locally
bundle exec rubocop --parallel --only Lint/BinaryOperatorWithIdenticalOperands,RSpec/MultipleMemoizedHelpers
# no offenses
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Peter Leitzen