Update rubocop.yml

This commit is contained in:
2014-07-28 10:30:09 +01:00
parent 2f267011a6
commit 8781f7bf61

View File

@@ -4,6 +4,16 @@ AllCops:
Style/AlignParameters:
EnforcedStyle: with_fixed_indentation
Style/ClassLength:
CountComments: false
Max: 200
Style/EmptyLineBetweenDefs:
AllowAdjacentOneLineDefs: true
Style/Encoding:
EnforcedStyle: when_needed
Style/HashSyntax:
EnforcedStyle: hash_rockets
@@ -13,3 +23,16 @@ Style/IndentHash:
Style/LineLength:
Max: 78
AllowURI: true
Style/IfUnlessModifier:
MaxLineLength: 78
Style/MethodLength:
CountComments: false
Max: 20
Style/SingleLineBlockParams:
Methods:
Style/WhileUntilModifier:
MaxLineLength: 78