From 69454e36f77db6f6e1c45c04c39acf670fe443e4 Mon Sep 17 00:00:00 2001 From: Dmitriy Zaporozhets Date: Tue, 24 Mar 2015 18:35:57 -0700 Subject: Style/RedundantReturn enabled --- .rubocop.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.rubocop.yml') 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." -- cgit v1.2.3