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 love the new AlignWith: variable configuration for the EndAlignment cop, added in #665 (and reported in #661), however this is one small issue with multiple assignment. I have created a reduced reproduction case:
x,y=iftrue[1,2]else[3,4]end
This program reports two offenses:
EndAlignment: end at 5, 0 is not aligned with if at 1, 9
IndentationWidth: Use 2 (not -7) spaces for indentation.
If the program is modified to single assignment, these offenses go away.
x=iftrue[1,2]else[3,4]end
The text was updated successfully, but these errors were encountered:
I love the new
AlignWith: variable
configuration for theEndAlignment
cop, added in #665 (and reported in #661), however this is one small issue with multiple assignment. I have created a reduced reproduction case:This program reports two offenses:
EndAlignment
: end at 5, 0 is not aligned with if at 1, 9IndentationWidth
: Use 2 (not -7) spaces for indentation.If the program is modified to single assignment, these offenses go away.
The text was updated successfully, but these errors were encountered: