aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike McQuaid2017-10-26 15:52:14 +0100
committerMike McQuaid2017-10-26 15:52:14 +0100
commit1f259c27779aa657428eb476d1027de5a357445d (patch)
treeac3b9db413c5139bcf300e21b127635e8d87e55b
parent4d02b96c679edaf8e16dcec1a69ef9fceaee9eb8 (diff)
downloadbrew-1f259c27779aa657428eb476d1027de5a357445d.tar.bz2
rubocop: disable length checks.
We should keep these enabled for Homebrew/brew but for taps these just end up being annoying and making `brew style` fail for little benefit
-rw-r--r--Library/.rubocop.yml15
1 files changed, 7 insertions, 8 deletions
diff --git a/Library/.rubocop.yml b/Library/.rubocop.yml
index 00956076a..2580668b4 100644
--- a/Library/.rubocop.yml
+++ b/Library/.rubocop.yml
@@ -60,16 +60,16 @@ Lint/ParenthesesAsGroupedExpression:
# TODO: try to bring down all metrics maximums
Metrics/AbcSize:
- Max: 250
+ Enabled: false
Metrics/BlockLength:
- Max: 144
+ Enabled: false
Metrics/ClassLength:
- Max: 589
+ Enabled: false
Metrics/CyclomaticComplexity:
- Max: 75
+ Enabled: false
Metrics/LineLength:
Max: 324
@@ -77,17 +77,16 @@ Metrics/LineLength:
IgnoredPatterns: ['#: ']
Metrics/MethodLength:
- Max: 222
+ Enabled: false
Metrics/ModuleLength:
- CountComments: false
- Max: 367
+ Enabled: false
Metrics/ParameterLists:
CountKeywordArgs: false
Metrics/PerceivedComplexity:
- Max: 100
+ Enabled: false
# makes code less readable for minor performance increases
Performance/Caller: