Regen autogen, removing all claude-scratchpad/*

This commit is contained in:
Pieter Oliver 2025-06-30 10:47:15 +01:00
parent 69f5e392d1
commit 672a086dae

View file

@ -1,6 +1,6 @@
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2025-06-28 14:51:29 UTC using RuboCop version 1.77.0.
# on 2025-06-30 09:46:22 UTC using RuboCop version 1.77.0.
# The point is for the user to remove these configuration records
# one by one as the offenses are removed from the code base.
# Note that changes in the inspected code, or installation of new
@ -29,14 +29,6 @@ Gemspec/RequiredRubyVersion:
Exclude:
- 'grape_logging.gemspec'
# Offense count: 2
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: EnforcedStyle, IndentOneStep, IndentationWidth.
# SupportedStyles: case, end
Layout/CaseIndentation:
Exclude:
- 'claude-scratchpad/cleaner_parameter_filter.rb'
# Offense count: 1
# This cop supports safe autocorrection (--autocorrect).
Layout/EmptyLines:
@ -75,13 +67,12 @@ Layout/EmptyLinesAroundMethodBody:
Exclude:
- 'lib/grape_logging/loggers/response.rb'
# Offense count: 7
# Offense count: 2
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: EnforcedStyleAlignWith, Severity.
# SupportedStylesAlignWith: keyword, variable, start_of_line
Layout/EndAlignment:
Exclude:
- 'claude-scratchpad/cleaner_parameter_filter.rb'
- 'lib/grape_logging/middleware/request_logger.rb'
- 'spec/lib/grape_logging/formatters/rails_spec.rb'
@ -109,12 +100,11 @@ Layout/HashAlignment:
Exclude:
- 'spec/lib/grape_logging/loggers/request_headers_spec.rb'
# Offense count: 5
# Offense count: 4
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: Width, AllowedPatterns.
Layout/IndentationWidth:
Exclude:
- 'claude-scratchpad/cleaner_parameter_filter.rb'
- 'lib/grape_logging/middleware/request_logger.rb'
- 'spec/lib/grape_logging/formatters/rails_spec.rb'
@ -167,35 +157,22 @@ Layout/SpaceInsideHashLiteralBraces:
- 'spec/lib/grape_logging/loggers/response_spec.rb'
- 'spec/lib/grape_logging/middleware/request_logger_spec.rb'
# Offense count: 4
# Offense count: 3
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: EnforcedStyle.
# SupportedStyles: final_newline, final_blank_line
Layout/TrailingEmptyLines:
Exclude:
- 'claude-scratchpad/cleaner_parameter_filter.rb'
- 'lib/grape_logging/multi_io.rb'
- 'lib/grape_logging/reporters/active_support_reporter.rb'
- 'lib/grape_logging/timings.rb'
# Offense count: 11
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: AllowInHeredoc.
Layout/TrailingWhitespace:
Exclude:
- 'claude-scratchpad/cleaner_parameter_filter.rb'
# Offense count: 1
# Configuration parameters: IgnoreLiteralBranches, IgnoreConstantBranches, IgnoreDuplicateElseBranch.
Lint/DuplicateBranch:
Exclude:
- 'lib/grape_logging/util/parameter_filter.rb'
# Offense count: 6
Lint/HashCompareByIdentity:
Exclude:
- 'claude-scratchpad/cleaner_parameter_filter.rb'
# Offense count: 1
# Configuration parameters: AllowedParentClasses.
Lint/MissingSuper:
@ -218,19 +195,7 @@ Lint/UnusedMethodArgument:
Exclude:
- 'lib/grape_logging/loggers/base.rb'
# Offense count: 1
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: AutoCorrect.
Lint/UselessAssignment:
Exclude:
- 'claude-scratchpad/cleaner_parameter_filter.rb'
# Offense count: 1
Lint/UselessConstantScoping:
Exclude:
- 'claude-scratchpad/cleaner_parameter_filter.rb'
# Offense count: 4
# Offense count: 3
# Configuration parameters: AllowedMethods, AllowedPatterns, CountRepeatedAttributes.
Metrics/AbcSize:
Max: 38
@ -241,17 +206,17 @@ Metrics/AbcSize:
Metrics/BlockLength:
Max: 88
# Offense count: 4
# Offense count: 3
# Configuration parameters: AllowedMethods, AllowedPatterns.
Metrics/CyclomaticComplexity:
Max: 18
# Offense count: 7
# Offense count: 5
# Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns.
Metrics/MethodLength:
Max: 20
# Offense count: 3
# Offense count: 2
# Configuration parameters: AllowedMethods, AllowedPatterns.
Metrics/PerceivedComplexity:
Max: 19
@ -290,7 +255,7 @@ Style/CaseLikeIf:
- 'lib/grape_logging/formatters/logstash.rb'
- 'lib/grape_logging/formatters/rails.rb'
# Offense count: 18
# Offense count: 17
# Configuration parameters: AllowedConstants.
Style/Documentation:
Enabled: false
@ -301,7 +266,7 @@ Style/ExpandPathArguments:
Exclude:
- 'grape_logging.gemspec'
# Offense count: 30
# Offense count: 29
# This cop supports unsafe autocorrection (--autocorrect-all).
# Configuration parameters: EnforcedStyle.
# SupportedStyles: always, always_true, never
@ -330,11 +295,10 @@ Style/HashSyntax:
Exclude:
- 'lib/grape_logging/formatters/logstash.rb'
# Offense count: 2
# Offense count: 1
# This cop supports safe autocorrection (--autocorrect).
Style/IfUnlessModifier:
Exclude:
- 'claude-scratchpad/cleaner_parameter_filter.rb'
- 'lib/grape_logging/reporters/logger_reporter.rb'
# Offense count: 2
@ -368,14 +332,6 @@ Style/MutableConstant:
Exclude:
- 'lib/grape_logging/version.rb'
# Offense count: 1
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: EnforcedStyle, MinBodyLength, AllowConsecutiveConditionals.
# SupportedStyles: skip_modifier_ifs, always
Style/Next:
Exclude:
- 'claude-scratchpad/cleaner_parameter_filter.rb'
# Offense count: 1
# This cop supports unsafe autocorrection (--autocorrect-all).
# Configuration parameters: EnforcedStyle, AllowedMethods, AllowedPatterns.
@ -435,13 +391,12 @@ Style/RescueStandardError:
Exclude:
- 'lib/grape_logging/loggers/response.rb'
# Offense count: 4
# Offense count: 3
# This cop supports unsafe autocorrection (--autocorrect-all).
# Configuration parameters: ConvertCodeThatCanStartToReturnNil, AllowedMethods, MaxChainLength.
# AllowedMethods: present?, blank?, presence, try, try!
Style/SafeNavigation:
Exclude:
- 'claude-scratchpad/cleaner_parameter_filter.rb'
- 'lib/grape_logging/formatters/rails.rb'
# Offense count: 1