diff options
| author | Mike McQuaid | 2017-10-26 16:06:29 +0100 |
|---|---|---|
| committer | Mike McQuaid | 2017-10-27 14:20:33 +0100 |
| commit | 5a8d2352c2012504544cda53eab55eec324f4a82 (patch) | |
| tree | 90df8e5758a1613757d5f63f0eba343513f55a78 /Library | |
| parent | 8aa697363b66e537a3c9689b7dbe18a9f3872dd2 (diff) | |
| download | brew-5a8d2352c2012504544cda53eab55eec324f4a82.tar.bz2 | |
rubocop.yml: reduce tap maximum line length.
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/.rubocop.yml | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/Library/.rubocop.yml b/Library/.rubocop.yml index 2580668b4..051a57f93 100644 --- a/Library/.rubocop.yml +++ b/Library/.rubocop.yml @@ -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 |
