From 847a3212ca271974675a713ff1cab0673f113ca7 Mon Sep 17 00:00:00 2001
From: Darius Schneider <schneider@itc.rwth-aachen.de>
Date: Wed, 6 Nov 2024 09:53:03 +0100
Subject: [PATCH] better excludes

---
 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 062527b..93f3f53 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_gemspec_subconfig ['test/**/*', 'config/**/*', 'db/**/*', '*.gemspec', '**/*/config/*']
+  Exclude: &test_config_db_gemspec_subconfig ['test/**/*', 'config/**/*', 'db/**/*', '*.gemspec', '**/*/*config.rb']
 
 # default is too restrictive, having some restriction incentivizes to split up overly large classes
 Metrics/ClassLength:
-- 
GitLab