# This configuration was generated by
# `rubocop --auto-gen-config --auto-gen-only-exclude --exclude-limit 100`
# on 2025-06-09 02:44:43 UTC using RuboCop version 1.30.1.
# 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
# versions of RuboCop, may require this file to be generated again.

# Offense count: 1
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: Include.
# Include: **/*.gemspec
Gemspec/DeprecatedAttributeAssignment:
  Exclude:
    - 'http.gemspec'

# Offense count: 55
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: EnforcedStyle.
# SupportedStyles: leading, trailing
Layout/DotPosition:
  Exclude:
    - 'lib/http/options.rb'
    - 'spec/lib/http/client_spec.rb'
    - 'spec/lib/http/features/auto_deflate_spec.rb'
    - 'spec/lib/http/headers_spec.rb'
    - 'spec/lib/http/options/features_spec.rb'
    - 'spec/lib/http/redirector_spec.rb'
    - 'spec/lib/http/response/body_spec.rb'
    - 'spec/lib/http_spec.rb'
    - 'spec/support/http_handling_shared.rb'

# Offense count: 2
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: IndentationWidth.
# SupportedStyles: special_inside_parentheses, consistent, align_braces
Layout/FirstHashElementIndentation:
  EnforcedStyle: consistent

# Offense count: 206
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces.
# SupportedStyles: space, no_space, compact
# SupportedStylesForEmptyBraces: space, no_space
Layout/SpaceInsideHashLiteralBraces:
  Exclude:
    - 'lib/http/chainable.rb'
    - 'spec/lib/http/client_spec.rb'
    - 'spec/lib/http/features/auto_inflate_spec.rb'
    - 'spec/lib/http/features/instrumentation_spec.rb'
    - 'spec/lib/http/features/logging_spec.rb'
    - 'spec/lib/http/headers_spec.rb'
    - 'spec/lib/http/options/features_spec.rb'
    - 'spec/lib/http/options/merge_spec.rb'
    - 'spec/lib/http/options/new_spec.rb'
    - 'spec/lib/http/redirector_spec.rb'
    - 'spec/lib/http/request_spec.rb'
    - 'spec/lib/http/response_spec.rb'
    - 'spec/lib/http_spec.rb'
    - 'spec/support/dummy_server/servlet.rb'
    - 'spec/support/http_handling_shared.rb'
    - 'spec/support/ssl_helper.rb'

# Offense count: 4
Lint/MissingSuper:
  Exclude:
    - 'lib/http/features/auto_deflate.rb'
    - 'lib/http/features/instrumentation.rb'
    - 'lib/http/features/logging.rb'
    - 'lib/http/features/normalize_uri.rb'

# Offense count: 1
# This cop supports safe autocorrection (--autocorrect).
Lint/RedundantCopDisableDirective:
  Exclude:
    - 'spec/lib/http/retriable/performer_spec.rb'

# Offense count: 6
# Configuration parameters: AllowComments, AllowNil.
Lint/SuppressedException:
  Exclude:
    - 'spec/lib/http/retriable/performer_spec.rb'

# Offense count: 8
# Configuration parameters: IgnoredMethods, CountRepeatedAttributes, Max.
Metrics/AbcSize:
  Exclude:
    - 'lib/http/chainable.rb'
    - 'lib/http/client.rb'
    - 'lib/http/connection.rb'
    - 'lib/http/features/auto_deflate.rb'
    - 'lib/http/redirector.rb'
    - 'lib/http/request.rb'
    - 'lib/http/response.rb'

# Offense count: 4
# Configuration parameters: CountComments, Max, CountAsOne.
Metrics/ClassLength:
  Exclude:
    - 'lib/http/client.rb'
    - 'lib/http/connection.rb'
    - 'lib/http/headers.rb'
    - 'lib/http/request.rb'

# Offense count: 2
# Configuration parameters: IgnoredMethods, Max.
Metrics/CyclomaticComplexity:
  Exclude:
    - 'lib/http/chainable.rb'
    - 'lib/http/client.rb'

# Offense count: 19
# Configuration parameters: CountComments, Max, CountAsOne, ExcludedMethods, IgnoredMethods.
Metrics/MethodLength:
  Exclude:
    - 'lib/http/chainable.rb'
    - 'lib/http/client.rb'
    - 'lib/http/connection.rb'
    - 'lib/http/features/auto_deflate.rb'
    - 'lib/http/features/auto_inflate.rb'
    - 'lib/http/headers.rb'
    - 'lib/http/options.rb'
    - 'lib/http/redirector.rb'
    - 'lib/http/request.rb'
    - 'lib/http/response.rb'
    - 'lib/http/response/body.rb'
    - 'lib/http/retriable/performer.rb'
    - 'lib/http/timeout/global.rb'

# Offense count: 1
# Configuration parameters: CountComments, Max, CountAsOne.
Metrics/ModuleLength:
  Exclude:
    - 'lib/http/chainable.rb'

# Offense count: 1
Security/CompoundHash:
  Exclude:
    - 'lib/http/uri.rb'

# Offense count: 2
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: EnforcedStyle.
# SupportedStyles: separated, grouped
Style/AccessorGrouping:
  Exclude:
    - 'lib/http/request.rb'

# Offense count: 4
# This cop supports safe autocorrection (--autocorrect).
Style/EmptyCaseCondition:
  Exclude:
    - 'lib/http/client.rb'
    - 'lib/http/headers.rb'
    - 'lib/http/options.rb'
    - 'lib/http/response/status.rb'

# Offense count: 5
# This cop supports safe autocorrection (--autocorrect).
Style/Encoding:
  Exclude:
    - 'spec/lib/http/client_spec.rb'
    - 'spec/lib/http/request/writer_spec.rb'
    - 'spec/lib/http/request_spec.rb'
    - 'spec/lib/http_spec.rb'
    - 'spec/support/dummy_server/servlet.rb'

# Offense count: 71
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: EnforcedStyle, EnforcedShorthandSyntax, UseHashRocketsWithSymbolValues, PreferHashRocketsForNonAlnumEndingSymbols.
# SupportedStyles: ruby19, hash_rockets, no_mixed_keys, ruby19_no_mixed_keys
# SupportedShorthandSyntax: always, never, either
Style/HashSyntax:
  Exclude:
    - 'spec/lib/http/features/raise_error_spec.rb'
    - 'spec/lib/http/retriable/delay_calculator_spec.rb'
    - 'spec/lib/http/retriable/performer_spec.rb'
    - 'spec/lib/http_spec.rb'

# Offense count: 4
# This cop supports unsafe autocorrection (--autocorrect-all).
# Configuration parameters: EnforcedStyle.
# SupportedStyles: literals, strict
Style/MutableConstant:
  Exclude:
    - 'lib/http/headers/normalizer.rb'
    - 'lib/http/retriable/delay_calculator.rb'

# Offense count: 17
# Configuration parameters: SuspiciousParamNames, Allowlist.
# SuspiciousParamNames: options, opts, args, params, parameters
Style/OptionHash:
  Exclude:
    - 'lib/http/chainable.rb'
    - 'lib/http/client.rb'
    - 'lib/http/feature.rb'
    - 'lib/http/options.rb'
    - 'lib/http/redirector.rb'
    - 'lib/http/timeout/null.rb'
    - 'spec/support/dummy_server.rb'

# Offense count: 4
# Configuration parameters: AllowedMethods.
# AllowedMethods: respond_to_missing?
Style/OptionalBooleanParameter:
  Exclude:
    - 'lib/http/timeout/global.rb'
    - 'lib/http/timeout/null.rb'
    - 'lib/http/timeout/per_operation.rb'
    - 'lib/http/uri.rb'

# Offense count: 3
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: Max, AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, AllowedPatterns, IgnoredPatterns.
# URISchemes: http, https
Layout/LineLength:
  Exclude:
    - 'lib/http/chainable.rb'
    - 'spec/lib/http/options/proxy_spec.rb'
