Skip to content
Snippets Groups Projects
Commit 847a3212 authored by Darius Schneider's avatar Darius Schneider
Browse files

better excludes

parent 0ecbe85a
Branches
Tags
No related merge requests found
......@@ -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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment