mirror of
https://github.com/samsonjs/grape_logging.git
synced 2026-04-03 10:25:47 +00:00
AutoFix RuboCop Lint/UnusedMethodArgument
This commit is contained in:
parent
93b41a6a2a
commit
e5b6b00c47
2 changed files with 1 additions and 9 deletions
|
|
@ -49,14 +49,6 @@ Lint/SymbolConversion:
|
|||
Exclude:
|
||||
- 'spec/lib/grape_logging/loggers/response_spec.rb'
|
||||
|
||||
# Offense count: 2
|
||||
# This cop supports safe autocorrection (--autocorrect).
|
||||
# Configuration parameters: AutoCorrect, AllowUnusedKeywordArguments, IgnoreEmptyMethods, IgnoreNotImplementedMethods, NotImplementedExceptions.
|
||||
# NotImplementedExceptions: NotImplementedError
|
||||
Lint/UnusedMethodArgument:
|
||||
Exclude:
|
||||
- 'lib/grape_logging/loggers/base.rb'
|
||||
|
||||
# Offense count: 3
|
||||
# Configuration parameters: AllowedMethods, AllowedPatterns, CountRepeatedAttributes.
|
||||
Metrics/AbcSize:
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
module GrapeLogging
|
||||
module Loggers
|
||||
class Base
|
||||
def parameters(request, response)
|
||||
def parameters(_request, _response)
|
||||
{}
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in a new issue