Skip to content

Commit

Permalink
Performance/CollectionLiteralInLoop should be Enabled: 'pending'
Browse files Browse the repository at this point in the history
  • Loading branch information
ghiculescu authored Oct 13, 2020
1 parent f355cf9 commit f52db5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ Performance/ChainArrayAllocation:

Performance/CollectionLiteralInLoop:
Description: 'Extract Array and Hash literals outside of loops into local variables or constants.'
Enabled: true
Enabled: 'pending'
VersionAdded: '1.8'
# Min number of elements to consider an offense
MinSize: 1
Expand Down

0 comments on commit f52db5a

Please sign in to comment.