Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Speicher <robert@gitlab.com>2016-05-23 22:29:25 +0300
committerRobert Speicher <robert@gitlab.com>2016-05-23 22:29:25 +0300
commit18ac02a3fec248a1f2bb3ef5aff30344b8f80d40 (patch)
tree6cc1cff55e05fddaee8d1f08245403eb5454b9c2 /.rubocop.yml
parent206e8344b882c985ac920c1dc9f2fba0045aafe8 (diff)
parent3ba72f69af69d9fb2c46cb6c25d571f92ffd2ee1 (diff)
Merge branch 'rs-space-around-keyword' into 'master'
Enable Style/SpaceAroundKeyword cop and fix offenses Ref: https://gitlab.com/gitlab-org/gitlab-ce/issues/17478 See merge request !4259
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 5143736658b..a3caba7068f 100644
--- a/.rubocop.yml
+++ b/.rubocop.yml
@@ -543,10 +543,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: