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
Running bin/rubocop --only Style/FirstParameterIndentation on the above code, I am told to properly indent the line containing 42.
The strange thing here is that the recommended position seems to be 2 spaces more than the position of <p>. I would assume the indentation of the un-interpolated parts of the string would have no influence on the indentation recommendation of the interpolated parts.
From my testing, it seems that this bug only presents itself when the interpolated string contains a method call with its argument(s) on a new line(s).
The text was updated successfully, but these errors were encountered:
Running
bin/rubocop --only Style/FirstParameterIndentation
on the above code, I am told to properly indent the line containing42
.The strange thing here is that the recommended position seems to be 2 spaces more than the position of
<p>
. I would assume the indentation of the un-interpolated parts of the string would have no influence on the indentation recommendation of the interpolated parts.From my testing, it seems that this bug only presents itself when the interpolated string contains a method call with its argument(s) on a new line(s).
The text was updated successfully, but these errors were encountered: