Sha256: 5be9d73a5f0d30258bed5cbe133b457d2e3fb1907400b2f46d50dc4d4386c2b0

Contents?: true

Size: 1.32 KB

Versions: 19

Compression:

Stored size: 1.32 KB

Contents

require: rubocop-rspec

inherit_from:
  - capybara.yml

# Analog of: 736b3d295f88b9ba6676fc168b823535582388c2
#
# We should avoid cops that are based on heuristics, since
# it's not clear what action to take to fix an issue.
RSpec/ExampleLength:
  Enabled: false

# We should avoid cops that are based on heuristics, since
# it's not clear what action to take to fix an issue.
RSpec/MultipleMemoizedHelpers:
  Enabled: false

# We have common cases, such as rake tasks, where we do not
# use a class to the describe the test.
RSpec/DescribeClass:
  Enabled: false

# We accept multiple expectations (within reason), preferring
# them to running mulitple similar tests.
RSpec/MultipleExpectations:
  Enabled: false

# Part of the GOV.UK feature style involves instance variables.
RSpec/InstanceVariable:
  Exclude:
    - 'spec/features/**/*.rb'

# In GOV.UK we quite often test that a class received a method.
RSpec/MessageSpies:
  Enabled: false

# Analog of: 736b3d295f88b9ba6676fc168b823535582388c2
#
# We should avoid cops that are based on heuristics, since
# it's not clear what action to take to fix an issue.
RSpec/NestedGroups:
  Enabled: false

# Nested contexts make more sense with "and" or "but", since
# they are a refinement of an outer context.
RSpec/ContextWording:
  Prefixes:
    - when
    - with
    - without
    - and
    - but

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
rubocop-govuk-4.16.1 config/rspec.yml
rubocop-govuk-4.16.0 config/rspec.yml
rubocop-govuk-4.15.0 config/rspec.yml
rubocop-govuk-4.14.0 config/rspec.yml
rubocop-govuk-4.13.0 config/rspec.yml
rubocop-govuk-4.12.0 config/rspec.yml
rubocop-govuk-4.11.0 config/rspec.yml
rubocop-govuk-4.10.0 config/rspec.yml
rubocop-govuk-4.9.0 config/rspec.yml
rubocop-govuk-4.8.0 config/rspec.yml
rubocop-govuk-4.7.0 config/rspec.yml
rubocop-govuk-4.6.0 config/rspec.yml
rubocop-govuk-4.5.0 config/rspec.yml
rubocop-govuk-4.4.0 config/rspec.yml
rubocop-govuk-4.3.0 config/rspec.yml
rubocop-govuk-4.2.0 config/rspec.yml
rubocop-govuk-4.1.0 config/rspec.yml
rubocop-govuk-4.0.0 config/rspec.yml
rubocop-govuk-4.0.0.pre.1 config/rspec.yml