brew/Library/.rubocop_rspec.yml

38 lines
722 B
YAML
Raw Normal View History

inherit_from: ./.rubocop.yml
# Intentionally disabled as it doesn't fit with our code style.
RSpec/AnyInstance:
Enabled: false
RSpec/FilePath:
Enabled: false
2019-08-05 13:56:51 +01:00
RSpec/ImplicitBlockExpectation:
Enabled: false
2019-11-27 13:09:21 +00:00
RSpec/SubjectStub:
Enabled: false
# TODO: try to enable these
RSpec/DescribeClass:
Enabled: false
2019-07-25 20:55:17 +01:00
RSpec/LeakyConstantDeclaration:
Enabled: false
RSpec/MessageSpies:
Enabled: false
2020-02-11 12:46:49 +00:00
RSpec/RepeatedDescription:
Enabled: false
2020-10-21 09:50:58 +02:00
RSpec/StubbedMock:
Enabled: false
# TODO: try to reduce these
RSpec/ExampleLength:
Max: 75
RSpec/MultipleExpectations:
Max: 26
RSpec/NestedGroups:
Max: 5
2020-08-19 10:52:11 +01:00
RSpec/MultipleMemoizedHelpers:
Max: 12
# Annoying to have these autoremoved.
RSpec/Focus:
AutoCorrect: false