Fix Rubocop RedundantCopDisableDirective offenses in app/controllers
What does this MR do and why?
This MR fixes all Lint/RedundantCopDisableDirective
offenses in app/controllers
.
How to set up and validate locally
- Run the following command to pick up the offences
REVEAL_RUBOCOP_TODO=1 bundle exec rubocop app/controllers/
- Observe the output before and after
# Before 441 files inspected, 1132 offenses detected, 923 offenses auto-correctable # After 441 files inspected, 1117 offenses detected, 908 offenses auto-correctable
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 Tan Le