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

exclusions for metrics expanded

parent 4d0ef83d
Branches
No related tags found
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 ['test/**/*', 'config/**/*', 'db/**/*']
Exclude: &test_config_db ['*.gemspec', '*/config/**/*', 'test/**/*', 'config/**/*', 'db/**/*']
# 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