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
Layout/EmptyLinesAroundArguments
Layout/EmptyLinesAroundArguments appears to fail incorrectly when a method is called with both:
I would expect the following to not fail for this cop:
def chocolate bar(<<~DOCS) Sometimes we foo the bars Other times the bars foo us DOCS .call!(true) end
C: Layout/EmptyLinesAroundArguments: Empty line detected around arguments 💥
C: Layout/EmptyLinesAroundArguments: Empty line detected around arguments
See example in Expected behaviour.
0.52.1 (using Parser 2.4.0.2, running on ruby 2.5.0 x86_64-darwin16)
The text was updated successfully, but these errors were encountered:
[Fix rubocop#5339] Resolve multiline heredoc false positives for Empt…
140ca24
…yLinesAroundArguments
[rubocop#5339] Account for inline args with empty lines inside
c4d53ba
8d7545c
[#5339] Account for inline args with empty lines inside
07cc784
No branches or pull requests
Layout/EmptyLinesAroundArguments
appears to fail incorrectly when a method is called with both:Expected behavior
I would expect the following to not fail for this cop:
Actual behavior
C: Layout/EmptyLinesAroundArguments: Empty line detected around arguments
💥Steps to reproduce the problem
See example in Expected behaviour.
RuboCop version
The text was updated successfully, but these errors were encountered: