Update rubocop.yml

This commit is contained in:
2014-08-10 13:46:13 +01:00
parent 3cad342ce9
commit 8a549fa72b

View File

@@ -8,6 +8,16 @@ Style/ClassLength:
CountComments: false
Max: 200
Style/CollectionMethods:
PreferredMethods:
collect: 'map'
collect!: 'map!'
detect: 'find'
find_all: 'select'
Style/EmptyLinesAroundBody:
Enabled: false
Style/EmptyLineBetweenDefs:
AllowAdjacentOneLineDefs: true
@@ -32,7 +42,10 @@ Style/MethodLength:
Max: 20
Style/SingleLineBlockParams:
Methods:
Enabled: false
Style/StringLiterals:
Enabled: false
Style/WhileUntilModifier:
MaxLineLength: 78
MaxLineLength: 78