summaryrefslogtreecommitdiff
path: root/.rubocop.yml
diff options
context:
space:
mode:
authorRobert Speicher <robert@gitlab.com>2016-05-30 17:36:30 +0000
committerRobert Speicher <robert@gitlab.com>2016-05-30 17:36:30 +0000
commit38e0e399de115111fdbbfd890503519ad58e29a3 (patch)
tree18682d069c4af60316484d7242f002a2a26420b7 /.rubocop.yml
parent8cb7759b92685f8dc40c7829eb1114f55eee5271 (diff)
parent0ea017d99744ee3a7574535fad69cfc0686fd292 (diff)
downloadgitlab-ce-38e0e399de115111fdbbfd890503519ad58e29a3.tar.gz
Merge branch 'style/enable-while-until-do-rubocop-style-cop' into 'master'
Enable Style/WhileUntilDo rubocop style cop Checks for redundant `do` after `while` or `until`. See #17478 See merge request !4350
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 9074dcff1f4..089ae7adbcf 100644
--- a/.rubocop.yml
+++ b/.rubocop.yml
@@ -704,7 +704,7 @@ Style/WhenThen:
# Checks for redundant do after while or until.
Style/WhileUntilDo:
- Enabled: false
+ Enabled: true
# Favor modifier while/until usage when you have a single-line body.
Style/WhileUntilModifier: