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/MultilineMethodCallIndentation doesn't catch safe navigation chains.
Layout/MultilineMethodCallIndentation
This is considered correctly aligned.
# frozen_string_literal: true author.books .first &.tags &.map { |tag| "tag: #{tag}" }
1 file inspected, no offenses detected
It should correctly align multiline chains whether it has safe navigation or not.
> rubocop -v 1.56.2
The text was updated successfully, but these errors were encountered:
[Fix rubocop#12199] Fix false negatives for `Layout/MultilineMethodCa…
781a40b
…llIndentation` Fixes rubocop#12199. This PR fixes false negatives for `Layout/MultilineMethodCallIndentation` when using safe navigation operator.
[Fix #12199] Fix false negatives for `Layout/MultilineMethodCallInden…
1b7da81
…tation` Fixes #12199. This PR fixes false negatives for `Layout/MultilineMethodCallIndentation` when using safe navigation operator.
Successfully merging a pull request may close this issue.
Layout/MultilineMethodCallIndentation
doesn't catch safe navigation chains.Current behaviour
This is considered correctly aligned.
Describe the solution you'd like
It should correctly align multiline chains whether it has safe navigation or not.
Additional context
> rubocop -v 1.56.2
The text was updated successfully, but these errors were encountered: