Fix Lint/DefEndAlignment rubocop issues and remove from rubocop_todo list
This commit is contained in:
@@ -6,14 +6,6 @@
|
|||||||
# Note that changes in the inspected code, or installation of new
|
# Note that changes in the inspected code, or installation of new
|
||||||
# versions of RuboCop, may require this file to be generated again.
|
# versions of RuboCop, may require this file to be generated again.
|
||||||
|
|
||||||
# Offense count: 1
|
|
||||||
# Cop supports --auto-correct.
|
|
||||||
# Configuration parameters: AlignWith, SupportedStyles, AutoCorrect.
|
|
||||||
# SupportedStyles: start_of_line, def
|
|
||||||
Lint/DefEndAlignment:
|
|
||||||
Exclude:
|
|
||||||
- 'app/controllers/comments_controller.rb'
|
|
||||||
|
|
||||||
# Offense count: 1
|
# Offense count: 1
|
||||||
# Cop supports --auto-correct.
|
# Cop supports --auto-correct.
|
||||||
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
||||||
|
|||||||
@@ -62,7 +62,7 @@ class Officing::Residence
|
|||||||
document_type: document_type).first
|
document_type: document_type).first
|
||||||
end
|
end
|
||||||
|
|
||||||
def residence_in_madrid
|
def residence_in_madrid
|
||||||
return if errors.any?
|
return if errors.any?
|
||||||
|
|
||||||
unless residency_valid?
|
unless residency_valid?
|
||||||
|
|||||||
Reference in New Issue
Block a user