We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I just ran into an issue with autocorrect (for some ambiguous parentheses). It took this code:
entry.author do |author| author.name (blog.user.name) end
And converted it to:
entry.author do |author| author.nameblog.user.name end
...which doesn't work. It should have switched it to author.name(blog.user.name)
author.name(blog.user.name)
I'm not sure this is an issue with standard or if it should be addressed in rubocop
The text was updated successfully, but these errors were encountered:
Yeah, this is definitely a thing. Seems to be this lint: https://docs.rubocop.org/rubocop/cops_lint.html#lintparenthesesasgroupedexpression
Probably interacting poorly with another rule we have enabled
Sorry, something went wrong.
Yes I believe this is a bug in Rubocop. Will file there shortly
Ok, filed! rubocop/rubocop#8572
This should have been fixed with 0.90
No branches or pull requests
I just ran into an issue with autocorrect (for some ambiguous parentheses). It took this code:
And converted it to:
...which doesn't work. It should have switched it to
author.name(blog.user.name)
I'm not sure this is an issue with standard or if it should be addressed in rubocop
The text was updated successfully, but these errors were encountered: