mirror of
https://github.com/jimeh/dotfiles.git
synced 2026-02-19 11:06:41 +00:00
Update rubocop.yml
This commit is contained in:
@@ -10,10 +10,10 @@ Style/ClassLength:
|
||||
|
||||
Style/CollectionMethods:
|
||||
PreferredMethods:
|
||||
collect: 'map'
|
||||
collect!: 'map!'
|
||||
detect: 'find'
|
||||
find_all: 'select'
|
||||
inject: 'inject' # disable "use reduce instead of inject" warning
|
||||
|
||||
Style/EachWithObject:
|
||||
Enabled: false
|
||||
|
||||
Style/EmptyLinesAroundBody:
|
||||
Enabled: false
|
||||
|
||||
Reference in New Issue
Block a user