summaryrefslogtreecommitdiff
path: root/.rubocop.yml
diff options
context:
space:
mode:
authorSteve Kemp <steve@steve.org.uk>2016-04-22 21:48:59 +0300
committerSteve Kemp <steve@steve.org.uk>2016-04-22 21:48:59 +0300
commit67fbf68705e1808107e8cea1d3ab6ad0e206f645 (patch)
treee9488cc105876485822be15c29c97ee66bd964ca /.rubocop.yml
parent12de7cf1aefcd5d567a9e6e2eaa061f2074c8dbb (diff)
Fixed up more rubocop warnings.
Again these were whitespace-related.
Diffstat (limited to '.rubocop.yml')
-rw-r--r--.rubocop.yml12
1 files changed, 5 insertions, 7 deletions
diff --git a/.rubocop.yml b/.rubocop.yml
index 8fcb264..46850c9 100644
--- a/.rubocop.yml
+++ b/.rubocop.yml
@@ -66,7 +66,7 @@ Metrics/AbcSize:
# Offense count: 8
# Configuration parameters: CountComments.
Metrics/ClassLength:
- Max: 202
+ Max: 300
# Offense count: 22
Metrics/CyclomaticComplexity:
@@ -75,7 +75,7 @@ Metrics/CyclomaticComplexity:
# Offense count: 118
# Configuration parameters: AllowURI, URISchemes.
Metrics/LineLength:
- Max: 216
+ Max: 300
# Offense count: 78
# Configuration parameters: CountComments.
@@ -302,14 +302,12 @@ Style/PredicateName:
Style/RedundantBegin:
Enabled: false
+Style/RedundantReturn:
+ Enabled: false
+
Style/RegexpLiteral:
Enabled: false
-# Offense count: 20
-# Cop supports --auto-correct.
-# Configuration parameters: AllowMultipleReturnValues.
-Style/RedundantReturn:
- Enabled: true
# Offense count: 50
# Cop supports --auto-correct.