Skip to content

Commit

Permalink
Merge pull request #84 from cookpad/disable-timesmap-cop
Browse files Browse the repository at this point in the history
Prefer 3.times.map over Array.new(3).map
  • Loading branch information
lewispb authored May 11, 2018
2 parents 0fc252f + 872df08 commit 3952e8e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,9 @@ Lint/ParenthesesAsGroupedExpression:
Performance/RedundantMerge:
Enabled: false

Performance/TimesMap:
Enabled: false

Lint/RequireParentheses:
Enabled: false

Expand Down

0 comments on commit 3952e8e

Please sign in to comment.