Fix Style/ReductantReturn rubocop

Exclusions from .rubocop_todo.yml deleted.This cop checks for redundant return expressions.
Fixes #1824
This commit is contained in:
Sidharth 2017-12-04 13:05:23 +05:30
parent c0e4d54415
commit 020dae3d49
5 changed files with 9 additions and 19 deletions

View file

@ -646,16 +646,6 @@ Style/RedundantParentheses:
Exclude:
- 'app/controllers/admin/base_controller.rb'
# Offense count: 9
# Cop supports --auto-correct.
# Configuration parameters: AllowMultipleReturnValues.
Style/RedundantReturn:
Exclude:
- 'app/helpers/application_helper.rb'
- 'app/helpers/format_helper.rb'
- 'app/helpers/paths_helper.rb'
- 'app/helpers/users_helper.rb'
# Offense count: 2
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles, AllowInnerSlashes.