summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Kemp <steve@steve.org.uk>2017-08-10 10:41:46 +0300
committerSteve Kemp <steve@steve.org.uk>2017-08-10 10:41:46 +0300
commite52e144d73106a05864d7ce067875ca4854b639f (patch)
treea2575e49d144b335eab7ab1809b0bb24e9908667
parenteed000fd716a61e71e63caf3a84d1ee327f8dc07 (diff)
Updated to hide errors we're not fixing.rubo-cop-all-the-things
-rw-r--r--.rubocop.yml37
1 files changed, 36 insertions, 1 deletions
diff --git a/.rubocop.yml b/.rubocop.yml
index 9e32091..c2b15a2 100644
--- a/.rubocop.yml
+++ b/.rubocop.yml
@@ -70,7 +70,7 @@ Metrics/ClassLength:
# Offense count: 22
Metrics/CyclomaticComplexity:
- Max: 19
+ Max: 25
# Offense count: 118
# Configuration parameters: AllowURI, URISchemes.
@@ -466,3 +466,38 @@ Style/MutableConstant:
Style/WhileUntilDo:
Enabled: false
+
+Lint/AssignmentInCondition:
+ Exclude:
+ - 'lib/custodian/queue.rb'
+
+# Offense count: 2
+Lint/ShadowedException:
+ Exclude:
+ - 'lib/custodian/protocoltest/ssl.rb'
+
+# Offense count: 6
+# Cop supports --auto-correct.
+Lint/UnifiedInteger:
+ Exclude:
+ - 't/test-custodian-settings.rb'
+
+# Offense count: 1
+Metrics/AbcSize:
+ Max: 85
+
+# Offense count: 1
+# Configuration parameters: CountComments.
+Metrics/MethodLength:
+ Max: 97
+
+# Offense count: 1
+Metrics/PerceivedComplexity:
+ Max: 23
+
+# Offense count: 7
+# Cop supports --auto-correct.
+Style/SpaceInsideParens:
+ Exclude:
+ - 't.rb'
+ - 't/test-custodian-settings.rb'