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

Enables and fixes all new cops #1443

Merged
merged 1 commit into from
Aug 8, 2022
Merged

Enables and fixes all new cops #1443

merged 1 commit into from
Aug 8, 2022

Conversation

iMacTia
Copy link
Member

@iMacTia iMacTia commented Aug 8, 2022

Description

Enables and fixes all new cops.
Fixes #1440

Additional Notes

I've split the .rubocop.yml file into sections.
Next time we get the warning about new cops being released, we can simply remove the whole New cops section, run rubocop, then copy-paste the list from the warning.
This will not only keep the list in alphabetical order, but it will also prune older cops that have been auto-enabled on the last Rubocop major version

@@ -9,196 +9,188 @@ AllCops:
DisplayStyleGuide: true
TargetRubyVersion: 2.6

Metrics/BlockLength:
# Custom config
Gemspec/RequireMFA: # we don't know if this works with auto-deployments yet
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perhaps we should have a sign-post Issue about this rule.

Copy link
Member

@olleolleolle olleolleolle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Grand, and green, too!

@iMacTia iMacTia merged commit 43d6797 into main Aug 8, 2022
@iMacTia iMacTia deleted the mg/#1440-rubocop-new-rules branch August 8, 2022 14:47
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.

maintain RubuCop new rules
2 participants