Sha256: 0c0a1dc2941c38f936de45106ca0380157b34ed5d091b6cc3e2bdec48ddff24c

Contents?: true

Size: 1.8 KB

Versions: 1

Compression:

Stored size: 1.8 KB

Contents

require:
  - solidus_dev_support/rubocop

AllCops:
  NewCops: disable

Layout/FirstArgumentIndentation:
  EnforcedStyle: consistent

Layout/FirstArrayElementIndentation:
  EnforcedStyle: consistent

Layout/FirstHashElementIndentation:
  EnforcedStyle: consistent

Layout/MultilineMethodCallIndentation:
  EnforcedStyle: indented

Naming/VariableNumber:
  Enabled: false

# We use this extensively, the alternatives are not viable or desirable.
RSpec/AnyInstance:
  Enabled: false

# No need to make the code more complex for no real gain.
RSpec/MessageSpies:
  Enabled: false

# Let's consider legitimate to have multiple expectations within an example.
RSpec/MultipleExpectations:
  Enabled: false

# Allow to use subject as is, no big deal.
RSpec/NamedSubject:
  Enabled: false

# Let's set this to some really exagerate value.
RSpec/NestedGroups:
  Max: 8

# We don't use the FactoryBot mixin
RSpec/FactoryBot/SyntaxMethods:
  Enabled: false

RSpec/VerifiedDoubles:
  # Sometimes you really need an "anything" double
  IgnoreSymbolicNames: true

Style/FrozenStringLiteralComment:
  Exclude:
    - spec/**/*
    - db/migrate/**/*
    - bin/**/*

Style/ExplicitBlockArgument:
  Exclude:
    - lib/solidus_braintree/request_protection.rb

Rails/SkipsModelValidations:
  Exclude:
    - db/migrate/**/*

Rails/ReflectionClassName:
  Exclude:
    - app/models/solidus_braintree/customer.rb
    - app/models/solidus_braintree/source.rb

RSpec/MultipleMemoizedHelpers:
  Exclude:
    - spec/models/solidus_braintree/transaction_import_spec.rb
    - spec/models/solidus_braintree/response_spec.rb
    - spec/models/solidus_braintree/gateway_spec.rb
    - spec/controllers/solidus_braintree/client_tokens_controller_spec.rb
    - spec/features/frontend/braintree_credit_card_checkout_spec.rb

Rails/ApplicationRecord:
  Exclude:
    - db/migrate/*

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
solidus_braintree-2.0.0 .rubocop.yml