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/EmptyLineAfterMagicComment
Offense for the following, this is somewhat common in rails initializers.
# frozen_string_literal: true # Hello!
No offense
$ [bundle exec] rubocop -V 1.60.2 (using Parser 3.3.0.4, rubocop-ast 1.30.0, running on ruby 3.3.0) [x86_64-linux] - rubocop-performance 1.20.2 - rubocop-rake 0.6.0 - rubocop-rspec 2.26.1
The text was updated successfully, but these errors were encountered:
[Fix rubocop#12710] Fix a false negative for `Layout/EmptyLineAfterMa…
5fb6047
…gicComment` when the file is comments only
Merge pull request #12764 from Earlopain/false-negative-for-layout-em…
167bad9
…pty-line-after-magic-comment [Fix #12710] Fix a false negative for `Layout/EmptyLineAfterMagicComment` when the file is comments only
Successfully merging a pull request may close this issue.
Expected behavior
Offense for the following, this is somewhat common in rails initializers.
Actual behavior
No offense
RuboCop version
The text was updated successfully, but these errors were encountered: