Skip to content

Fix Rubocop RedundantCopDisableDirective offenses in app/controllers

Tan Le requested to merge tle-redundant-cop-disable-controllers into master

What does this MR do and why?

This MR fixes all Lint/RedundantCopDisableDirective offenses in app/controllers.

How to set up and validate locally

  1. Run the following command to pick up the offences
    REVEAL_RUBOCOP_TODO=1 bundle exec rubocop app/controllers/
  2. 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.

Edited by Tan Le

Merge request reports

Loading