summaryrefslogtreecommitdiff
path: root/.rubocop.yml
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzesiek.bizon@gmail.com>2016-08-03 12:01:20 +0200
committerGrzegorz Bizon <grzesiek.bizon@gmail.com>2016-08-03 12:02:41 +0200
commitc7b31e4029978adcde4e7f47622a6364d9ed121a (patch)
treee3785b67b6fcbd9aa25a913e221e5b75dc0c5f87 /.rubocop.yml
parente63729d9e70a661fb3fb8cb558716f6a44a52798 (diff)
downloadgitlab-ce-c7b31e4029978adcde4e7f47622a6364d9ed121a.tar.gz
Enable some Rubocop cops related to new lines
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 556a5d11a39..d90c47022ec 100644
--- a/.rubocop.yml
+++ b/.rubocop.yml
@@ -149,7 +149,7 @@ Style/EmptyLinesAroundAccessModifier:
# Keeps track of empty lines around block bodies.
Style/EmptyLinesAroundBlockBody:
- Enabled: false
+ Enabled: true
# Keeps track of empty lines around class bodies.
Style/EmptyLinesAroundClassBody:
@@ -161,7 +161,7 @@ Style/EmptyLinesAroundModuleBody:
# Keeps track of empty lines around method bodies.
Style/EmptyLinesAroundMethodBody:
- Enabled: false
+ Enabled: true
# Avoid the use of END blocks.
Style/EndBlock: