mirror of
https://github.com/jimeh/dotfiles.git
synced 2026-02-19 13:46:41 +00:00
Update rubocop.yml
This commit is contained in:
17
rubocop.yml
17
rubocop.yml
@@ -8,6 +8,16 @@ Style/ClassLength:
|
|||||||
CountComments: false
|
CountComments: false
|
||||||
Max: 200
|
Max: 200
|
||||||
|
|
||||||
|
Style/CollectionMethods:
|
||||||
|
PreferredMethods:
|
||||||
|
collect: 'map'
|
||||||
|
collect!: 'map!'
|
||||||
|
detect: 'find'
|
||||||
|
find_all: 'select'
|
||||||
|
|
||||||
|
Style/EmptyLinesAroundBody:
|
||||||
|
Enabled: false
|
||||||
|
|
||||||
Style/EmptyLineBetweenDefs:
|
Style/EmptyLineBetweenDefs:
|
||||||
AllowAdjacentOneLineDefs: true
|
AllowAdjacentOneLineDefs: true
|
||||||
|
|
||||||
@@ -32,7 +42,10 @@ Style/MethodLength:
|
|||||||
Max: 20
|
Max: 20
|
||||||
|
|
||||||
Style/SingleLineBlockParams:
|
Style/SingleLineBlockParams:
|
||||||
Methods:
|
Enabled: false
|
||||||
|
|
||||||
|
Style/StringLiterals:
|
||||||
|
Enabled: false
|
||||||
|
|
||||||
Style/WhileUntilModifier:
|
Style/WhileUntilModifier:
|
||||||
MaxLineLength: 78
|
MaxLineLength: 78
|
||||||
|
|||||||
Reference in New Issue
Block a user