From 47c81080f73239a99b444daa5b5a6282865669e8 Mon Sep 17 00:00:00 2001
From: Darius Schneider <schneider@itc.rwth-aachen.de>
Date: Tue, 8 Oct 2024 11:07:28 +0200
Subject: [PATCH] Update rubocop-for-gem.yml

---
 rails/rubocop-for-gem.yml | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/rails/rubocop-for-gem.yml b/rails/rubocop-for-gem.yml
index fb0160d..a8543d1 100644
--- a/rails/rubocop-for-gem.yml
+++ b/rails/rubocop-for-gem.yml
@@ -85,11 +85,15 @@ Metrics/PerceivedComplexity:
 # BEGIN Naming
 # the default gem module must be named like the gem, so allow dashes
 Naming/FileName:
-  Exclude: [./lib/*.rb]
+  Exclude: ['lib/*.rb']
 # END Naming
 
 
 # BEGIN Style
+# allow compact style for gems that contain app directory for rails integration
+Style/ClassAndModuleChildren:
+  Exclude: ['app/**/*']
+
 # documentation of classes in migrations and tests is not needed
 Style/Documentation:
   Exclude: *test_config_db
-- 
GitLab