mirror of
https://github.com/meineerde/redmine.git
synced 2025-10-17 17:01:01 +00: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:
parent
58a2c91218
commit
8db904c401
@ -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.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user