Sha256: 786bc5e5db9e320736360864f48ba6cbb12e0045272f067aa7ae6f3ae50f41f3

Contents?: true

Size: 982 Bytes

Versions: 19

Compression:

Stored size: 982 Bytes

Contents

# Excluding as we set up the rake specs as 'describe "rake namespace:task", type: :task do' which determines what task
# is being tested, and this cop doesn't like having a describe block without a class or module name.
RSpec/DescribeClass:
  Exclude:
    - spec/tasks/**/*

# Avoid opening modules and defining specs within them
RSpec/DescribedClassModuleWrapping:
  Enabled: true

# This is to prevent Rubocop from bugging on a spec helper that doesn't contain an example, which the support ones don't
RSpec/LeadingSubject:
  Exclude:
    - spec/support

# Allow arrays, hashes, and method calls to be counted as one line in examples
RSpec/ExampleLength:
  CountAsOne: ["array", "hash", "method_call"]

# Because 5 is a bit mean
RSpec/MultipleMemoizedHelpers:
  Max: 10

# Allow there to be a max of 4 example groups deep in Rspec tests
RSpec/NestedGroups:
  Max: 4

# Multi-line examples must have a description
RSpec/ExampleWithoutDescription:
  EnforcedStyle: single_line_only

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
boxt_rubocop-2.14.3 rspec.yml
boxt_rubocop-2.14.2 rspec.yml
boxt_rubocop-2.14.1 rspec.yml
boxt_rubocop-2.14.0 rspec.yml
boxt_rubocop-2.13.0 rspec.yml
boxt_rubocop-2.12.0 rspec.yml
boxt_rubocop-2.11.0 rspec.yml
boxt_rubocop-2.10.0 rspec.yml
boxt_rubocop-2.9.2 rspec.yml
boxt_rubocop-2.9.1 rspec.yml
boxt_rubocop-2.9.0 rspec.yml
boxt_rubocop-2.8.0 rspec.yml
boxt_rubocop-2.7.1 rspec.yml
boxt_rubocop-2.7.0 rspec.yml
boxt_rubocop-2.6.0 rspec.yml
boxt_rubocop-2.5.0 rspec.yml
boxt_rubocop-2.4.0 rspec.yml
boxt_rubocop-2.3.0 rspec.yml
boxt_rubocop-2.2.1 rspec.yml