diff --git a/rails/rubocop-for-gem.yml b/rails/rubocop-for-gem.yml index fb0160ded2e7d4219f1375df3d79b0cfc022a220..a8543d15b130595de56bc01dd31b8b684b69350a 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