You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I get an EndAlignment offence for the following lines of code.
Rubocop wants me to allign the end with {{value.all?}}.
Is this intentioned? (cant say I like it)
If so, we might need to make this more explicit in the ruby-style-guide I think?
#rubocop disapproves:
(value.is_a? Array) && value.all? do |subvalue|
type_check_value(subvalue, array_type)
end
#rubocop accepts:
(value.is_a? Array) && value.all? do |subvalue|
type_check_value(subvalue, array_type)
end
The text was updated successfully, but these errors were encountered:
Hi, (its me again)
I get an EndAlignment offence for the following lines of code.
Rubocop wants me to allign the end with {{value.all?}}.
Is this intentioned? (cant say I like it)
If so, we might need to make this more explicit in the ruby-style-guide I think?
The text was updated successfully, but these errors were encountered: