Merge pull request #3373 from MikeMcQuaid/max-line-length
rubocop.yml: reduce tap maximum line length.
This commit is contained in:
commit
2be11f6040
@ -58,7 +58,7 @@ Lint/EndAlignment:
|
||||
Lint/ParenthesesAsGroupedExpression:
|
||||
Enabled: false
|
||||
|
||||
# TODO: try to bring down all metrics maximums
|
||||
# most metrics don't make sense to apply for formulae/taps
|
||||
Metrics/AbcSize:
|
||||
Enabled: false
|
||||
|
||||
@ -72,9 +72,10 @@ Metrics/CyclomaticComplexity:
|
||||
Enabled: false
|
||||
|
||||
Metrics/LineLength:
|
||||
Max: 324
|
||||
# ignore manpage comments
|
||||
IgnoredPatterns: ['#: ']
|
||||
# 124 is the goal as GitHub diff UI wraps beyond that
|
||||
Max: 190
|
||||
# ignore manpage comments and long single-line strings
|
||||
IgnoredPatterns: ['#: ', ' url "', ' mirror "', ' plist_options :']
|
||||
|
||||
Metrics/MethodLength:
|
||||
Enabled: false
|
||||
|
||||
@ -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:
|
||||
|
||||
BIN
Library/Homebrew/test/support/fixtures/test.flac
Normal file
BIN
Library/Homebrew/test/support/fixtures/test.flac
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user