From d6ea7bdd982feaaa077b6ffd1cf98f2236ceeff9 Mon Sep 17 00:00:00 2001 From: Darius Schneider <schneider@itc.rwth-aachen.de> Date: Wed, 6 Nov 2024 09:36:03 +0100 Subject: [PATCH] exclusions for metrics expanded --- rails/rubocop-for-gem.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rails/rubocop-for-gem.yml b/rails/rubocop-for-gem.yml index 7890b9d..6ce1142 100644 --- a/rails/rubocop-for-gem.yml +++ b/rails/rubocop-for-gem.yml @@ -51,7 +51,7 @@ Metrics/AbcSize: Metrics/BlockLength: AllowedMethods: ['class_eval', 'module_eval', 'refine'] # default: 'refine' CountAsOne: &array_hash_heredoc_method_call ['array', 'hash', 'heredoc', 'method_call'] # default: [] - Exclude: &test_config_db ['test/**/*', 'config/**/*', 'db/**/*'] + Exclude: &test_config_db ['*.gemspec', '*/config/**/*', 'test/**/*', 'config/**/*', 'db/**/*'] # default is too restrictive, having some restriction incentivizes to split up overly large classes Metrics/ClassLength: -- GitLab