Sha256: 1babb9f8852c95eb13919531faad045896d402c84738fb07adaccdcf96f7643a

Contents?: true

Size: 1.75 KB

Versions: 2

Compression:

Stored size: 1.75 KB

Contents

require:
  - rubocop-rspec

RSpec/BeEq:
  Enabled: true

RSpec/BeforeAfterAll:
  Enabled: false

RSpec/BeNil:
  Enabled: true

RSpec/ChangeByZero:
  Enabled: true

RSpec/ClassCheck:
  Enabled: true

RSpec/DescribeClass:
  Enabled: false

RSpec/DescribeMethod:
  Enabled: false

RSpec/DescribedClass:
  Enabled: false

RSpec/DuplicatedMetadata:
  Enabled: true

RSpec/ExampleLength:
  Enabled: false

RSpec/ExcessiveDocstringSpacing:
  Enabled: true

RSpec/ExpectOutput:
  Enabled: false

RSpec/FilePath:
  Enabled: false

RSpec/IdenticalEqualityAssertion:
  Enabled: true

RSpec/InstanceVariable:
  Enabled: false

RSpec/MessageSpies:
  Enabled: false

RSpec/MultipleExpectations:
  Enabled: false

RSpec/MultipleMemoizedHelpers:
  Enabled: false

RSpec/NestedGroups:
  Enabled: true
  Max: 4

RSpec/NoExpectationExample:
  Enabled: true

RSpec/NotToNot:
  Enabled: false

RSpec/ScatteredSetup:
  Enabled: false

RSpec/StubbedMock:
  Enabled: false

RSpec/SortMetadata:
  Enabled: true

# Bug https://github.com/rubocop/rubocop-rspec/issues/1521
RSpec/PendingWithoutReason:
  Enabled: false

RSpec/SubjectDeclaration: # new in 2.5
  Enabled: true

RSpec/Rails/AvoidSetupHook: # new in 2.4
  Enabled: true

RSpec/Rails/HaveHttpStatus:
  Enabled: true

RSpec/Rails/InferredSpecType:
  Enabled: true

RSpec/VerifiedDoubleReference:
  Enabled: true

# Capybara

RSpec/Capybara:
  Enabled: true
  Include:
    - spec/integration/*.rb

Capybara/NegationMatcher:
  Enabled: true

Capybara/SpecificActions:
  Enabled: true

Capybara/SpecificFinders:
  Enabled: true

Capybara/SpecificMatcher:
  Enabled: true

# FactoryBot

FactoryBot/ConsistentParenthesesStyle:
  Enabled: true

FactoryBot/FactoryNameStyle:
  Enabled: true

# Prefer explicit factorybot call
FactoryBot/SyntaxMethods:
  Enabled: false

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
simplycop-1.12.20 .simplycop_rspec.yml
simplycop-1.12.18 .simplycop_rspec.yml