.rubocop.yml in codeguard-0.1.0 vs .rubocop.yml in codeguard-0.2.0
- old
+ new
@@ -580,16 +580,16 @@
- only_fail
- semantic
Style/SingleLineBlockParams:
Methods:
- - reduce:
- - a
- - e
- - inject:
- - a
- - e
+ - reduce: # because reek hates single-letter variables
+ - acc
+ - el
+ - inject: # because reek hates single-letter variables
+ - acc
+ - el
Style/SingleLineMethods:
AllowIfMethodIsEmpty: true
Style/StringLiterals:
@@ -628,9 +628,10 @@
Style/SpaceAroundOperators:
MultiSpaceAllowedForOperators:
- '='
- '=>'
+ - '|' # for codequest_pipes
Style/SpaceBeforeBlockBraces:
EnforcedStyle: space
SupportedStyles:
- space