diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index e4db93d1602b2edcf0cc03b89772dedbefb9d510..438a0662bb472f7761c0638517a9ee7dcc033223 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -120,13 +120,6 @@ Rails/MailerName: Rails/NegateInclude: Enabled: false -# Offense count: 39 -# Cop supports --auto-correct. -# Configuration parameters: Include. -# Include: **/Rakefile, **/*.rake -Rails/RakeEnvironment: - Enabled: false - # Offense count: 44 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle. diff --git a/.rubocop_todo/rails/rake_environment.yml b/.rubocop_todo/rails/rake_environment.yml new file mode 100644 index 0000000000000000000000000000000000000000..d248db022cea0018c39714cec46fd3cdf0acb529 --- /dev/null +++ b/.rubocop_todo/rails/rake_environment.yml @@ -0,0 +1,25 @@ +--- +# Cop supports --auto-correct. +Rails/RakeEnvironment: + # Offense count: 31 + # Temporarily disabled due to too many offenses + Enabled: false + Exclude: + - 'ee/lib/tasks/gitlab/elastic/test.rake' + - 'lib/tasks/config_lint.rake' + - 'lib/tasks/dev.rake' + - 'lib/tasks/gettext.rake' + - 'lib/tasks/gitlab/assets.rake' + - 'lib/tasks/gitlab/db.rake' + - 'lib/tasks/gitlab/docs/compile_deprecations.rake' + - 'lib/tasks/gitlab/docs/redirect.rake' + - 'lib/tasks/gitlab/helpers.rake' + - 'lib/tasks/gitlab/sidekiq.rake' + - 'lib/tasks/gitlab/tw/codeowners.rake' + - 'lib/tasks/gitlab/update_templates.rake' + - 'lib/tasks/lint.rake' + - 'lib/tasks/migrate/setup_postgresql.rake' + - 'lib/tasks/setup.rake' + - 'lib/tasks/test.rake' + - 'lib/tasks/yarn.rake' + - 'qa/qa/fixtures/auto_devops_rack/Rakefile'