Skip to content
Snippets Groups Projects
Commit 47bfad64 authored by Mike McQuaid's avatar Mike McQuaid
Browse files

rubocop.yml: re-add Homebrew metrics maximums.

parent 5a8d2352
No related branches found
No related tags found
No related merge requests found
......@@ -25,6 +25,10 @@ Lint/NestedMethodDefinition:
Lint/ParenthesesAsGroupedExpression:
Enabled: true
# TODO: try to bring down all metrics maximums
Metrics/AbcSize:
Max: 250
Metrics/BlockLength:
Max: 1250
......@@ -34,12 +38,24 @@ Metrics/BlockNesting:
Metrics/ClassLength:
Max: 1226
Metrics/CyclomaticComplexity:
Max: 75
Metrics/LineLength:
# 124 is the goal as GitHub diff UI wraps beyond that
Max: 244
# ignore manpage comments
IgnoredPatterns: ['#: ']
Metrics/MethodLength:
Max: 195
Metrics/ModuleLength:
Max: 222
Metrics/PerceivedComplexity:
Max: 100
# we won't change backward compatible method names
Naming/MethodName:
Exclude:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment