summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHomu <homu@barosl.com>2015-08-23 01:32:36 +0900
committerHomu <homu@barosl.com>2015-08-23 01:32:36 +0900
commit4b0db7fc591af1c9c5c133507c229800bface545 (patch)
tree5291cf69e55d3ef353b5f989d8933c00b6966345
parentbafe0bd2b4584bf2d24737639fa6dc14273a547b (diff)
parented7d822fc6b0c864751e9ee01a0ba491c41a1aac (diff)
downloadbundler-4b0db7fc591af1c9c5c133507c229800bface545.tar.gz
Auto merge of #3956 - Koronen:disable-lint-unused_method_argument, r=segiddins
Disable Lint/UnusedMethodArgument We don't agree with this rule. See discussion in <https://github.com/bundler/bundler/pull/3922>.
-rw-r--r--.rubocop.yml3
-rw-r--r--.rubocop_todo.yml5
2 files changed, 3 insertions, 5 deletions
diff --git a/.rubocop.yml b/.rubocop.yml
index 269c8c519a..5e60f77b23 100644
--- a/.rubocop.yml
+++ b/.rubocop.yml
@@ -16,6 +16,9 @@ Lint/AssignmentInCondition:
Lint/EndAlignment:
AlignWith: variable
+Lint/UnusedMethodArgument:
+ Enabled: false
+
# Style
Style/AccessModifierIndentation:
diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml
index 6920837690..6790383318 100644
--- a/.rubocop_todo.yml
+++ b/.rubocop_todo.yml
@@ -25,11 +25,6 @@ Lint/NonLocalExitFromIterator:
Lint/RescueException:
Enabled: false
-# Offense count: 38
-# Cop supports --auto-correct.
-Lint/UnusedMethodArgument:
- Enabled: false
-
# Offense count: 7
Lint/UselessAssignment:
Enabled: false