-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Style/IndentationWidth might be conflicting with start_of_line Lint/EndAlignment style #4105
Comments
I have the same issue: Lint/EndAlignment:
EnforcedStyleAlignWith: start_of_line and msg << if queued.empty?
'send queue is empty'
else
"send queue contains: \n#{queued.join("\n")}"
end outputs
If I disable |
@bbatsov Hey! I've started a PR where I refactored the tests such that they also run My very rudimentary understanding seems to be that when it gets to here, the |
@brandonweiss I think the problem is that in |
I have:
And if I turn on Style/IndentationWidth I get weird suggestions, like this:
It's obviously trying to indent two lines relative to the
if
statement, but that's not what I'd want/expect. What I'd expect is:The text was updated successfully, but these errors were encountered: