From 5a8d2352c2012504544cda53eab55eec324f4a82 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Thu, 26 Oct 2017 16:06:29 +0100 Subject: [PATCH] rubocop.yml: reduce tap maximum line length. --- Library/.rubocop.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/Library/.rubocop.yml b/Library/.rubocop.yml index 2580668b4b..051a57f933 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