Skip to content
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

Layout/EmptyLineAfterMagicComment-20230306233321 #839

Merged
merged 3 commits into from
Mar 8, 2023

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Mar 6, 2023

Rubocop challenge!

Layout/EmptyLineAfterMagicComment

Safe autocorrect: Yes
✅ The autocorrect a cop does is safe (equivalent) by design.

Description

Overview

Checks for a newline after the final magic comment.

Examples

# good
# frozen_string_literal: true

# Some documentation for Person
class Person
  # Some code
end

# bad
# frozen_string_literal: true
# Some documentation for Person
class Person
  # Some code
end

Auto generated by rubocop_challenger

@mathieujobin mathieujobin merged commit 7241b22 into master Mar 8, 2023
@mathieujobin mathieujobin deleted the rubocop-challenge/20230306233321 branch March 8, 2023 01:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant