From b0ac9ef0b96ab78c2961f45b6e9f20f87a6f1d07 Mon Sep 17 00:00:00 2001 From: Adam Cooke Date: Sat, 10 Feb 2024 17:26:45 +0000 Subject: [PATCH] style(rubocop): relax method length and block nexting for now --- .rubocop.yml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.rubocop.yml b/.rubocop.yml index 4fc5dbc3..e9827421 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -140,10 +140,6 @@ Metrics/ModuleLength: - "lib/tasks/auto_annotate_models.rake" - "config/routes.rb" -# Slightly increase tyhe default method length to be a bit more forgiving -Metrics/MethodLength: - Max: 30 - # Allow a maxmium of 5 arguments and don't include keyword arguments Metrics/ParameterLists: Max: 5 @@ -181,3 +177,11 @@ Metrics/PerceivedComplexity: Metrics/CyclomaticComplexity: # As above. Enabled: false + +Metrics/MethodLength: + # As above. + Enabled: false + +Metrics/BlockNesting: + # As above. + Enabled: false