Skip to content

Switch to RuboCop plugin system#18

Merged
amomchilov merged 2 commits intomainfrom
Alex/rubocop-plugin
Mar 3, 2026
Merged

Switch to RuboCop plugin system#18
amomchilov merged 2 commits intomainfrom
Alex/rubocop-plugin

Conversation

@amomchilov
Copy link
Contributor

@amomchilov amomchilov commented Mar 3, 2026

The README says to use plugins: but that doesn't actually work at the moment (you'd have to use require:). This PR fixes that, following the instructions from: https://docs.rubocop.org/rubocop/latest/plugin_migration_guide.html

@amomchilov amomchilov requested review from a team, bitwise-aiden and dersam March 3, 2026 22:33
@amomchilov amomchilov force-pushed the Alex/rubocop-plugin branch from 1ef635f to 3d779bc Compare March 3, 2026 22:34
@amomchilov amomchilov force-pushed the Alex/rubocop-plugin branch from 3d779bc to 5659a13 Compare March 3, 2026 22:39
@amomchilov amomchilov merged commit 8d375b6 into main Mar 3, 2026
1 check passed
@amomchilov amomchilov deleted the Alex/rubocop-plugin branch March 3, 2026 22:47
@@ -0,0 +1,33 @@
# typed: false
Copy link
Contributor

Choose a reason for hiding this comment

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

The rest of the project uses # typed: true or # typed: strong — any reason this one is # typed: false? I think we could bump it to # typed: true and add RBS-style signatures to the overridden methods, similar to how dont_expect_unexpected_nil.rb does it:

Suggested change
# typed: false
# typed: true

@@ -0,0 +1,33 @@
# typed: false
Copy link
Contributor

Choose a reason for hiding this comment

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

Why is this at false?

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.

3 participants