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
Naming/BlockForwarding with -a creates syntax error #12807
Labels
Comments
koic
added a commit
to koic/rubocop
that referenced
this issue
Mar 22, 2024
Fixes rubocop#12807. This PR fixes false positives for `Naming/BlockForwarding` when using explicit block forwarding in block method and others.
8 tasks
koic
added a commit
to koic/rubocop
that referenced
this issue
Mar 22, 2024
Fixes rubocop#12807. This PR fixes false positives for `Naming/BlockForwarding` when using explicit block forwarding in block method and others.
koic
added a commit
to koic/rubocop
that referenced
this issue
Mar 22, 2024
Fixes rubocop#12807. This PR fixes false positives for `Naming/BlockForwarding` when using explicit block forwarding in block method and others.
koic
added a commit
to koic/rubocop
that referenced
this issue
Mar 22, 2024
Fixes rubocop#12807. This PR fixes false positives for `Naming/BlockForwarding` when using explicit block forwarding in block method and others.
koic
added a commit
that referenced
this issue
Mar 23, 2024
…ock_forwarding [Fix #12807] Fix false positives for `Naming/BlockForwarding`
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Rubocop -a breaks the following code:
Expected behavior
Code should be left unchanged
Actual behavior
.rubocop.yml:
And the file is changed to
Attempting to load the file results in a syntax error:
Steps to reproduce the problem
rubocop -a result.rb
irb
001 > load 'result.rb'
RuboCop version
The text was updated successfully, but these errors were encountered: