summaryrefslogtreecommitdiff
path: root/.rubocop.yml
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-02-02 21:22:57 -0800
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-02-02 21:22:57 -0800
commitda884aabc7674c68eee23699efb357bc94aef8d3 (patch)
tree15565b2814b0e1269a98025330dd31652b9a0129 /.rubocop.yml
parent6579c336f96b00bb7897f7cbf2056286c1781281 (diff)
downloadgitlab-ce-da884aabc7674c68eee23699efb357bc94aef8d3.tar.gz
Avoid using {...} for multi-line blocks
Diffstat (limited to '.rubocop.yml')
-rw-r--r--.rubocop.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/.rubocop.yml b/.rubocop.yml
index c3f3d7bca66..319efe7e0dc 100644
--- a/.rubocop.yml
+++ b/.rubocop.yml
@@ -74,7 +74,7 @@ Style/BlockComments:
Style/BlockEndNewline:
Description: 'Put end statement of multiline block on its own line.'
- Enabled: false
+ Enabled: true
Style/Blocks:
Description: >-
@@ -82,7 +82,7 @@ Style/Blocks:
always ugly).
Prefer {...} over do...end for single-line blocks.
StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#single-line-blocks'
- Enabled: false
+ Enabled: true
Style/BracesAroundHashParameters:
Description: 'Enforce braces style around hash parameters.'