From f52db5ab6967e650b0b9129bb1e85c5c982b0754 Mon Sep 17 00:00:00 2001 From: Alex Ghiculescu Date: Tue, 13 Oct 2020 13:10:16 -0500 Subject: [PATCH] Performance/CollectionLiteralInLoop should be `Enabled: 'pending'` --- config/default.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/default.yml b/config/default.yml index 6a33802fbf..7e1b4af215 100644 --- a/config/default.yml +++ b/config/default.yml @@ -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