2019-01-21 13:39:11 +00:00
|
|
|
inherit_from: ./.rubocop.yml
|
|
|
|
|
2019-03-28 19:16:56 +00:00
|
|
|
# Intentionally disabled as it doesn't fit with our code style.
|
2019-01-21 13:39:11 +00:00
|
|
|
RSpec/AnyInstance:
|
|
|
|
Enabled: false
|
2020-05-05 15:50:10 +01:00
|
|
|
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
|
2019-03-28 19:16:56 +00:00
|
|
|
|
2020-05-05 15:50:10 +01:00
|
|
|
# TODO: try to enable these
|
2019-01-21 13:39:11 +00:00
|
|
|
RSpec/DescribeClass:
|
|
|
|
Enabled: false
|
2019-07-25 20:55:17 +01:00
|
|
|
RSpec/LeakyConstantDeclaration:
|
|
|
|
Enabled: false
|
2019-01-21 13:39:11 +00:00
|
|
|
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
|
2019-01-21 13:39:11 +00:00
|
|
|
|
2020-05-05 15:50:10 +01:00
|
|
|
# TODO: try to reduce these
|
2019-03-28 19:16:56 +00:00
|
|
|
RSpec/ExampleLength:
|
|
|
|
Max: 75
|
2019-01-21 13:39:11 +00:00
|
|
|
RSpec/MultipleExpectations:
|
|
|
|
Max: 26
|
|
|
|
RSpec/NestedGroups:
|
|
|
|
Max: 5
|
2020-08-19 10:52:11 +01:00
|
|
|
RSpec/MultipleMemoizedHelpers:
|
|
|
|
Max: 12
|
2021-01-27 15:04:35 +00:00
|
|
|
|
|
|
|
# Annoying to have these autoremoved.
|
|
|
|
RSpec/Focus:
|
|
|
|
AutoCorrect: false
|