From 07c8530952edb94c37261327abf5d93e6d414132 Mon Sep 17 00:00:00 2001 From: Darius Schneider <schneider@itc.rwth-aachen.de> Date: Wed, 27 Nov 2024 15:47:17 +0100 Subject: [PATCH] class and module length max 300 (from 200, default 100) --- rails/rubocop.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rails/rubocop.yml b/rails/rubocop.yml index b6386a4..5464a2a 100644 --- a/rails/rubocop.yml +++ b/rails/rubocop.yml @@ -51,7 +51,7 @@ Metrics/BlockLength: # default is too restrictive, having some restriction incentivizes to split up overly large classes Metrics/ClassLength: CountAsOne: *array_hash_heredoc_method_call # default: [] - Max: 200 # default: 100 + Max: 300 # default: 100 Exclude: *test_config_db # default is too restrictive, allow higher complexity @@ -67,7 +67,7 @@ Metrics/MethodLength: # default is too restrictive, allow longer modules Metrics/ModuleLength: CountAsOne: *array_hash_heredoc_method_call # default: [] - Max: 200 # default: 100 + Max: 300 # default: 100 Exclude: *test_config_db # long parameter lists add too much complexity, keyword args are named and thus more obvious what is expected, ignore them -- GitLab