mirror of
https://github.com/samsonjs/grape_logging.git
synced 2026-04-27 14:57:40 +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:
|
Exclude:
|
||||||
- 'spec/lib/grape_logging/loggers/response_spec.rb'
|
- '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
|
# Offense count: 3
|
||||||
# Configuration parameters: AllowedMethods, AllowedPatterns, CountRepeatedAttributes.
|
# Configuration parameters: AllowedMethods, AllowedPatterns, CountRepeatedAttributes.
|
||||||
Metrics/AbcSize:
|
Metrics/AbcSize:
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
module GrapeLogging
|
module GrapeLogging
|
||||||
module Loggers
|
module Loggers
|
||||||
class Base
|
class Base
|
||||||
def parameters(request, response)
|
def parameters(_request, _response)
|
||||||
{}
|
{}
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue