summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDouwe Maan <douwe@selenight.nl>2017-02-21 17:56:27 -0600
committerDouwe Maan <douwe@selenight.nl>2017-02-23 09:31:57 -0600
commit8924594a3e84f03c363031d0831960ad5ab822dd (patch)
tree2ff268efbf74460c267223093bc31f4fbf7a6f3b
parent3a8128f199f171d674be2acd48222b1e6b3c6604 (diff)
downloadgitlab-ce-8924594a3e84f03c363031d0831960ad5ab822dd.tar.gz
Disable Lint/UnneededSplatExpansion
-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: