diff --git a/rubocop.yml b/rubocop.yml index 3d4535d..b288926 100644 --- a/rubocop.yml +++ b/rubocop.yml @@ -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