# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2020-10-19 16:38:34 UTC using RuboCop version 0.93.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: 6
# Cop supports --auto-correct.
# Configuration parameters: EnabledMethods.
Capybara/FeatureMethods:
  Exclude:
    - 'spec/features/can_register_a_handler_and_receive_webhooks_spec.rb'

# Offense count: 2
# Cop supports --auto-correct.
Layout/BlockEndNewline:
  Exclude:
    - 'spec/features/can_register_a_handler_and_receive_webhooks_spec.rb'

# Offense count: 2
# Cop supports --auto-correct.
Layout/MultilineBlockLayout:
  Exclude:
    - 'spec/features/can_register_a_handler_and_receive_webhooks_spec.rb'

# Offense count: 2
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyleForEmptyBraces, SpaceBeforeBlockParameters.
# SupportedStyles: space, no_space
# SupportedStylesForEmptyBraces: space, no_space
Layout/SpaceInsideBlockBraces:
  EnforcedStyle: space

# Offense count: 30
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyleForEmptyBraces.
# SupportedStyles: space, no_space, compact
# SupportedStylesForEmptyBraces: space, no_space
Layout/SpaceInsideHashLiteralBraces:
  EnforcedStyle: space

# Offense count: 1
# Cop supports --auto-correct.
Lint/RedundantCopDisableDirective:
  Exclude:
    - 'bin/sandbox_rails'

# Offense count: 1
# Cop supports --auto-correct.
# Configuration parameters: AllowUnusedKeywordArguments, IgnoreEmptyMethods, IgnoreNotImplementedMethods.
Lint/UnusedMethodArgument:
  Exclude:
    - 'spec/features/can_register_a_handler_and_receive_webhooks_spec.rb'

# Offense count: 3
RSpec/MultipleExpectations:
  Max: 11

# Offense count: 1
# Configuration parameters: AllowSubject.
RSpec/MultipleMemoizedHelpers:
  Max: 14

# Offense count: 2
# Configuration parameters: IgnoreSharedExamples.
RSpec/NamedSubject:
  Exclude:
    - 'spec/solidus_webhooks/configuration_spec.rb'

# Offense count: 2
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle.
# SupportedStyles: nested, compact
Style/ClassAndModuleChildren:
  Exclude:
    - 'app/controllers/spree/webhooks_controller.rb'
    - 'app/models/spree/webhook.rb'

# Offense count: 4
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle.
# SupportedStyles: always, always_true, never
Style/FrozenStringLiteralComment:
  Exclude:
    - 'spec/**/*'
    - 'db/migrate/**/*'
    - 'bin/**/*'
    - 'app/controllers/spree/webhooks_controller.rb'
    - 'app/models/spree/webhook.rb'
    - 'lib/solidus_webhooks/configuration.rb'
    - 'lib/solidus_webhooks/errors.rb'

# Offense count: 2
# Cop supports --auto-correct.
# Configuration parameters: EnforcedOctalStyle.
# SupportedOctalStyles: zero_with_o, zero_only
Style/NumericLiteralPrefix:
  Exclude:
    - 'spec/features/can_register_a_handler_and_receive_webhooks_spec.rb'

# Offense count: 1
# Cop supports --auto-correct.
Style/Proc:
  Exclude:
    - 'spec/solidus_webhooks/configuration_spec.rb'