diff options
author | Robert Speicher <robert@gitlab.com> | 2016-05-23 19:29:25 +0000 |
---|---|---|
committer | Robert Speicher <robert@gitlab.com> | 2016-05-23 19:29:25 +0000 |
commit | 18ac02a3fec248a1f2bb3ef5aff30344b8f80d40 (patch) | |
tree | 6cc1cff55e05fddaee8d1f08245403eb5454b9c2 /.rubocop.yml | |
parent | 206e8344b882c985ac920c1dc9f2fba0045aafe8 (diff) | |
parent | 3ba72f69af69d9fb2c46cb6c25d571f92ffd2ee1 (diff) | |
download | gitlab-ce-18ac02a3fec248a1f2bb3ef5aff30344b8f80d40.tar.gz |
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.yml | 3 |
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: |