summaryrefslogtreecommitdiffstats
path: root/.rubocop.yml
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2023-01-11 13:25:07 +0000
committerGo MAEDA <maeda@farend.jp>2023-01-11 13:25:07 +0000
commitc53bf36b9a966d1a91fc8f9cb40dc1a9b4e73d95 (patch)
tree770cbcc4aeff3767f32fc357395dbbcc809b7013 /.rubocop.yml
parent3942177f49002d50aa65f803be85167d845675dd (diff)
downloadredmine-c53bf36b9a966d1a91fc8f9cb40dc1a9b4e73d95.tar.gz
redmine-c53bf36b9a966d1a91fc8f9cb40dc1a9b4e73d95.zip
Raise MinSize for RuboCop Performance/CollectionLiteralInLoop to 4 (#38146).
git-svn-id: https://svn.redmine.org/redmine/trunk@22028 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to '.rubocop.yml')
-rw-r--r--.rubocop.yml3
1 files changed, 3 insertions, 0 deletions
diff --git a/.rubocop.yml b/.rubocop.yml
index d411d2a9a..3baa592f2 100644
--- a/.rubocop.yml
+++ b/.rubocop.yml
@@ -116,6 +116,9 @@ Naming/BinaryOperatorParameterName:
Naming/PredicateName:
Enabled: false
+Performance/CollectionLiteralInLoop:
+ MinSize: 4
+
Rails/ActionControllerFlashBeforeRender:
# False positive in actions where `redirect_to_referer_or` is used
Enabled: false