diff options
author | Douwe Maan <douwe@selenight.nl> | 2017-02-21 17:35:12 -0600 |
---|---|---|
committer | Douwe Maan <douwe@selenight.nl> | 2017-02-23 09:31:56 -0600 |
commit | 7a81a41f178dfdf582835854c0358a2ffddaefba (patch) | |
tree | 7734d5283abe372a1285d268dac268962ef3d4bd | |
parent | b664a542042fc9b31849bb074f821bc0d1ff5d92 (diff) | |
download | gitlab-ce-7a81a41f178dfdf582835854c0358a2ffddaefba.tar.gz |
Disable Lint/UnusedMethodArgument
-rw-r--r-- | .rubocop.yml | 3 | ||||
-rw-r--r-- | .rubocop_todo.yml | 6 |
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: |