Sha256: 955782f9efb0b60af3ec9915106eedc858704fafce9c5aad8c60ca0ef1fed7c7

Contents?: true

Size: 1.61 KB

Versions: 1

Compression:

Stored size: 1.61 KB

Contents

require:
  - solidus_dev_support/rubocop

AllCops:
  NewCops: disable
  TargetRubyVersion: '3.0'
  Exclude:
    - sandbox/**/*
    - dummy-app/**/*
    - spec/dummy/**/*
    - vendor/bundle/**/*

Layout/FirstArgumentIndentation:
  EnforcedStyle: consistent

Layout/FirstArrayElementIndentation:
  EnforcedStyle: consistent

Naming/VariableNumber:
  # PayPal uses snake_case, we use normal_case ¯\_(ツ)_/¯
  Enabled: false

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

# System specs are not describing any class or module.
RSpec/DescribeClass:
  Exclude:
    - spec/system/**/*

# 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

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

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

Security/YAMLLoad:
  Exclude:
    - spec/**/*

RSpec/MultipleMemoizedHelpers:
  Exclude:
    - spec/jobs/solidus_paypal_commerce_platform/webhook_job_spec.rb
    - spec/models/solidus_paypal_commerce_platform/payment_method_spec.rb
    - spec/models/solidus_paypal_commerce_platform/payment_source_spec.rb

Rails/Inquiry:
  Enabled: true
  Exclude:
    - spec/lib/solidus_paypal_commerce_platform/configuration_spec.rb

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
solidus_paypal_commerce_platform-1.0.2 .rubocop.yml