summaryrefslogtreecommitdiff
path: root/.rubocop.yml
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-03-24 18:35:57 -0700
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-03-24 18:35:57 -0700
commit69454e36f77db6f6e1c45c04c39acf670fe443e4 (patch)
tree7ff7294f398c2d299f103bfe820f91173b4d4bc6 /.rubocop.yml
parent6ec8ff069ceaa7bb914cbbd97ac248d926ef7e4e (diff)
downloadgitlab-ce-69454e36f77db6f6e1c45c04c39acf670fe443e4.tar.gz
Style/RedundantReturn enabledmore-rubocop-styles
Diffstat (limited to '.rubocop.yml')
-rw-r--r--.rubocop.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.rubocop.yml b/.rubocop.yml
index 7188b0ecefe..7290d627d24 100644
--- a/.rubocop.yml
+++ b/.rubocop.yml
@@ -480,7 +480,7 @@ Style/RedundantException:
Style/RedundantReturn:
Description: "Don't use return where it's not required."
StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-explicit-return'
- Enabled: false
+ Enabled: true
Style/RedundantSelf:
Description: "Don't use self where it's not needed."