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

Support RuboCop extension plugin #27

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

koic
Copy link
Member

@koic koic commented Feb 15, 2025

This PR makes rubocop-extension-generator support RuboCop's Plugin feature.

It replaces the ad-hoc Inject with RuboCop plugins introduced in RuboCop 1.72. Additionally, since RuboCop already requires Ruby 2.7 or higher as its runtime, the required_ruby_version will be updated to 2.7.

Follow-up to rubocop/rubocop#13792.

@koic koic force-pushed the support_rubocop_extension_plugin branch 2 times, most recently from 0751c6e to dc1bae8 Compare February 17, 2025 16:54
This PR makes `rubocop-extension-generator` support RuboCop's Plugin feature.

It replaces the ad-hoc `Inject` with RuboCop plugins introduced in RuboCop 1.72.
Additionally, since RuboCop already requires Ruby 2.7 or higher as its runtime,
the `required_ruby_version` will be updated to 2.7.

Follow-up to rubocop/rubocop#13792.
@koic koic force-pushed the support_rubocop_extension_plugin branch from dc1bae8 to c432875 Compare February 25, 2025 15:00
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.

1 participant