config/rubocop.yml in procto-0.0.2 vs config/rubocop.yml in procto-0.0.3
- old
+ new
@@ -1,11 +1,11 @@
AllCops:
- Includes:
+ Include:
- '**/*.rake'
- 'Gemfile'
- 'Gemfile.devtools'
- Excludes:
+ Exclude:
- '**/vendor/**'
- '**/benchmarks/**'
# Avoid parameter lists longer than five parameters.
ParameterLists:
@@ -55,14 +55,10 @@
# Not all trivial readers/writers can be defined with attr_* methods
TrivialAccessors:
Enabled: false
-# Do not prefer do/end over {} for multiline blocks
-Blocks:
- Enabled: false
-
# Do not favor aligned parameters in method calls
AlignParameters:
Enabled: false
HashSyntax:
@@ -74,5 +70,9 @@
Lambda:
Enabled: false # i personally like the look of multiline ->(arg) {} lambdas
AndOr:
Enabled: false # we agree to use and/or for control flow
+
+# Allow code to be aligned more nicely
+SpaceBeforeFirstArg:
+ Enabled: false