rubocop.yml: reduce tap maximum line length.

This commit is contained in:
Mike McQuaid 2017-10-26 16:06:29 +01:00
parent 8aa697363b
commit 5a8d2352c2

View File

@ -58,7 +58,7 @@ Lint/EndAlignment:
Lint/ParenthesesAsGroupedExpression: Lint/ParenthesesAsGroupedExpression:
Enabled: false Enabled: false
# TODO: try to bring down all metrics maximums # most metrics don't make sense to apply for formulae/taps
Metrics/AbcSize: Metrics/AbcSize:
Enabled: false Enabled: false
@ -72,9 +72,10 @@ Metrics/CyclomaticComplexity:
Enabled: false Enabled: false
Metrics/LineLength: Metrics/LineLength:
Max: 324 # 124 is the goal as GitHub diff UI wraps beyond that
# ignore manpage comments Max: 190
IgnoredPatterns: ['#: '] # ignore manpage comments and long single-line strings
IgnoredPatterns: ['#: ', ' url "', ' mirror "', ' plist_options :']
Metrics/MethodLength: Metrics/MethodLength:
Enabled: false Enabled: false