Sha256: 6d4232de287726ae2a3f2135d03205b2fbf92b96dcce53b5dabdc42e1e3425dc

Contents?: true

Size: 1.57 KB

Versions: 3

Compression:

Stored size: 1.57 KB

Contents

require:
  - solidus_dev_support/rubocop

AllCops:
  NewCops: enable
  Exclude:
    - sandbox/**/*
    - spec/dummy/**/*
    - vendor/bundle/**/*

Layout/FirstArgumentIndentation:
  EnforcedStyle: consistent

Layout/FirstArrayElementIndentation:
  EnforcedStyle: consistent

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

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

# 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

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

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

3 entries across 3 versions & 1 rubygems

Version Path
solidus_paypal_commerce_platform-0.3.2 .rubocop.yml
solidus_paypal_commerce_platform-0.3.1 .rubocop.yml
solidus_paypal_commerce_platform-0.3.0 .rubocop.yml