From 46b946fd35513526c232c8e162f7fd48c2674f6f Mon Sep 17 00:00:00 2001 From: Issy Long Date: Thu, 2 Mar 2023 21:56:55 +0000 Subject: [PATCH] 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. --- Library/.rubocop.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Library/.rubocop.yml b/Library/.rubocop.yml index 927bbd4bab..00e759ebcd 100644 --- a/Library/.rubocop.yml +++ b/Library/.rubocop.yml @@ -287,15 +287,15 @@ RSpec/MessageSpies: RSpec/StubbedMock: Enabled: false -# TODO: try to reduce these +# These were ever-growing numbers, not useful. RSpec/ExampleLength: - Max: 75 + Enabled: false RSpec/MultipleExpectations: - Max: 26 + Enabled: false RSpec/NestedGroups: - Max: 5 + Enabled: false RSpec/MultipleMemoizedHelpers: - Max: 12 + Enabled: false # Annoying to have these autoremoved. RSpec/Focus: