diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-02-02 21:22:57 -0800 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-02-02 21:22:57 -0800 |
commit | da884aabc7674c68eee23699efb357bc94aef8d3 (patch) | |
tree | 15565b2814b0e1269a98025330dd31652b9a0129 /.rubocop.yml | |
parent | 6579c336f96b00bb7897f7cbf2056286c1781281 (diff) | |
download | gitlab-ce-da884aabc7674c68eee23699efb357bc94aef8d3.tar.gz |
Avoid using {...} for multi-line blocks
Diffstat (limited to '.rubocop.yml')
-rw-r--r-- | .rubocop.yml | 4 |
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.' |