summaryrefslogtreecommitdiff
path: root/.rubocop.yml
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzesiek.bizon@gmail.com>2016-06-01 11:18:11 +0200
committerGrzegorz Bizon <grzesiek.bizon@gmail.com>2016-06-01 11:18:11 +0200
commit0319d5b63233e132672b836409b8a073cab05d10 (patch)
tree89f487a2c6f205fc3f426ebc643abe9e39b07a9b /.rubocop.yml
parent473ea1e974cf07751601904b882de9ee2b3d0618 (diff)
downloadgitlab-ce-0319d5b63233e132672b836409b8a073cab05d10.tar.gz
Enable Style/For rubocop coprubocop/enable-style-for-cop
Do not use for, unless you know exactly why. See #17478
Diffstat (limited to '.rubocop.yml')
-rw-r--r--.rubocop.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.rubocop.yml b/.rubocop.yml
index eece9ec69d8..21ac2749437 100644
--- a/.rubocop.yml
+++ b/.rubocop.yml
@@ -247,7 +247,7 @@ Style/FlipFlop:
# Checks use of for or each in multiline loops.
Style/For:
- Enabled: false
+ Enabled: true
# Enforce the use of Kernel#sprintf, Kernel#format or String#%.
Style/FormatString: