summaryrefslogtreecommitdiff
path: root/.rubocop.yml
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2016-05-23 14:16:35 -0400
committerRobert Speicher <rspeicher@gmail.com>2016-05-23 14:16:35 -0400
commit3ba72f69af69d9fb2c46cb6c25d571f92ffd2ee1 (patch)
treef5b527f659bc3fe4e417c63ac9bd6fe0c97e5250 /.rubocop.yml
parent68b8e86a813608ae378b39ba5a64ff07fb9a057a (diff)
downloadgitlab-ce-3ba72f69af69d9fb2c46cb6c25d571f92ffd2ee1.tar.gz
Enable Style/SpaceAroundKeyword cop and fix offenses
Diffstat (limited to '.rubocop.yml')
-rw-r--r--.rubocop.yml3
1 files changed, 1 insertions, 2 deletions
diff --git a/.rubocop.yml b/.rubocop.yml
index 0946ef5d848..69a65b7a180 100644
--- a/.rubocop.yml
+++ b/.rubocop.yml
@@ -525,10 +525,9 @@ Style/SpaceAfterSemicolon:
Style/SpaceAroundEqualsInParameterDefault:
Enabled: false
-# TODO: Enable SpaceAroundKeyword Cop.
# Use a space around keywords if appropriate.
Style/SpaceAroundKeyword:
- Enabled: false
+ Enabled: true
# Use a single space around operators.
Style/SpaceAroundOperators: