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:
@@ -10,10 +10,10 @@ Style/ClassLength:
|
|||||||
|
|
||||||
Style/CollectionMethods:
|
Style/CollectionMethods:
|
||||||
PreferredMethods:
|
PreferredMethods:
|
||||||
collect: 'map'
|
inject: 'inject' # disable "use reduce instead of inject" warning
|
||||||
collect!: 'map!'
|
|
||||||
detect: 'find'
|
Style/EachWithObject:
|
||||||
find_all: 'select'
|
Enabled: false
|
||||||
|
|
||||||
Style/EmptyLinesAroundBody:
|
Style/EmptyLinesAroundBody:
|
||||||
Enabled: false
|
Enabled: false
|
||||||
|
|||||||
Reference in New Issue
Block a user