summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.rubocop.yml2
-rw-r--r--.rubocop_todo.yml17
2 files changed, 2 insertions, 17 deletions
diff --git a/.rubocop.yml b/.rubocop.yml
index c674cfbcf51..7bcd09bef1b 100644
--- a/.rubocop.yml
+++ b/.rubocop.yml
@@ -917,6 +917,8 @@ Lint/ShadowingOuterLocalVariable:
Lint/AssignmentInCondition:
Enabled: false
+Lint/UnneededSplatExpansion:
+ Enabled: false
Lint/UnusedBlockArgument:
Enabled: false
diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml
index b18adcc8b2f..f4497e5ac25 100644
--- a/.rubocop_todo.yml
+++ b/.rubocop_todo.yml
@@ -6,23 +6,6 @@
# Note that changes in the inspected code, or installation of new
# versions of RuboCop, may require this file to be generated again.
-# Offense count: 23
-# Cop supports --auto-correct.
-Lint/UnneededSplatExpansion:
- Exclude:
- - 'app/services/projects/update_pages_service.rb'
- - 'config/application.rb'
- - 'lib/banzai/filter/gollum_tags_filter.rb'
- - 'lib/bitbucket/page.rb'
- - 'lib/gitlab/markup_helper.rb'
- - 'spec/helpers/auth_helper_spec.rb'
- - 'spec/models/project_wiki_spec.rb'
- - 'spec/requests/api/projects_spec.rb'
- - 'spec/requests/api/tags_spec.rb'
- - 'spec/requests/api/v3/projects_spec.rb'
- - 'spec/support/seed_helper.rb'
- - 'spec/support/test_env.rb'
-
# Offense count: 3
# Cop supports --auto-correct.
Performance/RedundantBlockCall: