rubocop: Disable RSpec metrics cops

- We've disabled metrics cops for method length and complexity since we were
  fighting them a lot and the numbers were arbitrary and growing. It feels like
  these RSpec metrics numbers are arbitrary too.
This commit is contained in:
Issy Long 2023-03-02 21:56:55 +00:00
parent 0384b82adc
commit 46b946fd35
No known key found for this signature in database
GPG Key ID: 8247C390DADC67D4

View File

@ -287,15 +287,15 @@ RSpec/MessageSpies:
RSpec/StubbedMock: RSpec/StubbedMock:
Enabled: false Enabled: false
# TODO: try to reduce these # These were ever-growing numbers, not useful.
RSpec/ExampleLength: RSpec/ExampleLength:
Max: 75 Enabled: false
RSpec/MultipleExpectations: RSpec/MultipleExpectations:
Max: 26 Enabled: false
RSpec/NestedGroups: RSpec/NestedGroups:
Max: 5 Enabled: false
RSpec/MultipleMemoizedHelpers: RSpec/MultipleMemoizedHelpers:
Max: 12 Enabled: false
# Annoying to have these autoremoved. # Annoying to have these autoremoved.
RSpec/Focus: RSpec/Focus: