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 am using the Layout/DotPosition cop with trailing style. I just updated to Rubocop 1.22.2 from 1.22.1.
Layout/DotPosition
trailing
1.22.2
1.22.1
I am now getting a whole lot of false positives with this cop whenever there are multiline receivers.
For example:
records.map do |record| record + 1 end.uniq
now gets incorrectly flagged:
C: [Correctable] Layout/DotPosition: Place the . on the previous line, together with the method call receiver. end.uniq
$ bundle exec rubocop -V 1.22.2 (using Parser 3.0.2.0, rubocop-ast 1.12.0, running on ruby 3.0.2 arm64-darwin20) - rubocop-performance 1.11.5
The text was updated successfully, but these errors were encountered:
Fixed by #10207.
Sorry, something went wrong.
Disable Layout/DotPosition
a9d8394
It's completely broken, see rubocop/rubocop#10208 and rubocop/rubocop#10210
No branches or pull requests
I am using the
Layout/DotPosition
cop withtrailing
style. I just updated to Rubocop1.22.2
from1.22.1
.I am now getting a whole lot of false positives with this cop whenever there are multiline receivers.
For example:
now gets incorrectly flagged:
RuboCop version
The text was updated successfully, but these errors were encountered: