summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Kemp <steve@steve.org.uk>2016-04-22 21:23:41 +0300
committerSteve Kemp <steve@steve.org.uk>2016-04-22 21:23:41 +0300
commit91bfb015647bba1249a96933a48d88f2a50039a9 (patch)
tree03216eac0b760bf56b7f2514aa109996a01a62ab
parentfdb5aa7bb41c9a11a2dfdcdb12f00f95f37e2072 (diff)
Updated for the most recent rubocop version.
This is fixes for 0.39.0
-rw-r--r--.rubocop.yml21
1 files changed, 2 insertions, 19 deletions
diff --git a/.rubocop.yml b/.rubocop.yml
index b9c22bc..55eea3c 100644
--- a/.rubocop.yml
+++ b/.rubocop.yml
@@ -102,11 +102,6 @@ Style/AndOr:
Enabled: false
# Offense count: 1
-# Cop supports --auto-correct.
-Style/Blocks:
- Enabled: false
-
-# Offense count: 1
Style/CaseEquality:
Enabled: false
@@ -318,10 +313,6 @@ Style/RedundantReturn:
Style/RedundantSelf:
Enabled: false
-# Offense count: 4
-Style/RegexpLiteral:
- MaxSlashes: 4
-
# Offense count: 16
# Cop supports --auto-correct.
# Configuration parameters: AllowAsExpressionSeparator.
@@ -336,7 +327,7 @@ Style/SignalException:
# Offense count: 4
# Cop supports --auto-correct.
-Style/SingleSpaceBeforeFirstArg:
+Style/SpaceBeforeFirstArg:
Enabled: true
# Offense count: 1
@@ -349,11 +340,6 @@ Style/SpaceAfterColon:
Style/SpaceAfterComma:
Enabled: true
-# Offense count: 29
-# Cop supports --auto-correct.
-Style/SpaceAfterControlKeyword:
- Enabled: true
-
# Offense count: 1
# Cop supports --auto-correct.
Style/SpaceAfterMethodName:
@@ -436,10 +422,7 @@ Style/Tab:
Style/TrailingBlankLines:
Enabled: false
-# Offense count: 7
-# Cop supports --auto-correct.
-# Configuration parameters: EnforcedStyleForMultiline, SupportedStyles.
-Style/TrailingComma:
+Style/TrailingCommaInArguments:
Enabled: false
# Offense count: 12