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

Enable Lint/DuplicateMagicComment cop #46497

Merged
merged 1 commit into from Nov 14, 2022

Conversation

koic
Copy link
Contributor

@koic koic commented Nov 14, 2022

Motivation / Background

This PR enables Lint/DuplicateMagicComment cop to resolve the background of rubocop/rubocop#11043.

Detail

And this PR bumps RuboCop version because the cop was introduced in RuboCop 1.37.0: https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md#1370-2022-10-20

Checklist

Before submitting the PR make sure the following are checked:

  • This Pull Request is related to one change. Changes that are unrelated should be opened in separate PRs.
  • Commit message has a detailed description of what changed and why. If this PR fixes a related issue include it in the commit message. Ex: [Fix #issue-number]
  • Tests are added or updated if you fix a bug or add a feature.
  • CHANGELOG files are updated for the changed libraries if there is a behavior change or additional feature. Minor bug fixes and documentation changes should not be included.
  • CI is passing.

This PR enables `Lint/DuplicateMagicComment` cop to resolve
the background of rubocop/rubocop#11043.

And this PR bumps RuboCop version because the cop was introduced in RuboCop 1.37.0:
https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md#1370-2022-10-20
@byroot byroot merged commit 1f6202a into rails:main Nov 14, 2022
@koic koic deleted the enable_lint_duplicate_magic_comment_cop branch November 14, 2022 10:14
koic added a commit to koic/rubocop-rails_config that referenced this pull request Nov 15, 2022
Follow up rails/rails#46497.

This PR enables `Lint/DuplicateMagicComment` cop and requires RuboCop 1.39+.
koic added a commit to koic/rubocop-rails_config that referenced this pull request Nov 15, 2022
Follow up rails/rails#46497.

This PR enables `Lint/DuplicateMagicComment` cop and requires RuboCop 1.39+.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants