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: