mirror of
https://github.com/redmine/redmine.git
synced 2025-12-16 05:20:28 +01:00
rubocop: use "EnforcedStyle: empty" for Style/EmptyElse
git-svn-id: http://svn.redmine.org/redmine/trunk@19108 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -80,6 +80,9 @@ Style/AsciiComments:
|
||||
# We can not change nor remove it.
|
||||
- 'app/models/repository/git.rb'
|
||||
|
||||
Style/EmptyElse:
|
||||
EnforcedStyle: empty
|
||||
|
||||
Style/FormatStringToken:
|
||||
Enabled: false
|
||||
|
||||
|
||||
@@ -1054,10 +1054,7 @@ Style/EmptyCaseCondition:
|
||||
# SupportedStyles: empty, nil, both
|
||||
Style/EmptyElse:
|
||||
Exclude:
|
||||
- 'app/helpers/avatars_helper.rb'
|
||||
- 'app/models/import.rb'
|
||||
- 'app/models/mail_handler.rb'
|
||||
- 'app/models/query.rb'
|
||||
|
||||
# Cop supports --auto-correct.
|
||||
# Configuration parameters: EnforcedStyle.
|
||||
|
||||
Reference in New Issue
Block a user