summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDouwe Maan <douwe@selenight.nl>2017-02-21 17:35:12 -0600
committerDouwe Maan <douwe@selenight.nl>2017-02-23 09:31:56 -0600
commit7a81a41f178dfdf582835854c0358a2ffddaefba (patch)
tree7734d5283abe372a1285d268dac268962ef3d4bd
parentb664a542042fc9b31849bb074f821bc0d1ff5d92 (diff)
downloadgitlab-ce-7a81a41f178dfdf582835854c0358a2ffddaefba.tar.gz
Disable Lint/UnusedMethodArgument
-rw-r--r--.rubocop.yml3
-rw-r--r--.rubocop_todo.yml6
2 files changed, 3 insertions, 6 deletions
diff --git a/.rubocop.yml b/.rubocop.yml
index 5d89b73fe2b..a55ad5f01c7 100644
--- a/.rubocop.yml
+++ b/.rubocop.yml
@@ -683,6 +683,9 @@ Lint/UnneededDisable:
Lint/UnreachableCode:
Enabled: true
+Lint/UnusedMethodArgument:
+ Enabled: false
+
# Checks for useless assignment to a local variable.
Lint/UselessAssignment:
Enabled: true
diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml
index d065b246050..31569250877 100644
--- a/.rubocop_todo.yml
+++ b/.rubocop_todo.yml
@@ -68,12 +68,6 @@ Lint/UnneededSplatExpansion:
Lint/UnusedBlockArgument:
Enabled: false
-# Offense count: 171
-# Cop supports --auto-correct.
-# Configuration parameters: AllowUnusedKeywordArguments, IgnoreEmptyMethods.
-Lint/UnusedMethodArgument:
- Enabled: false
-
# Offense count: 114
# Configuration parameters: CountComments.
Metrics/BlockLength: