diff --git a/rails/rubocop-for-gem.yml b/rails/rubocop-for-gem.yml index 062527b000be697f1d08a3f2df9dd7e915cf3850..93f3f5330b34765c5e48e2a62f418e29881c8a46 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: