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

Pluginfy RuboCop Performance #289

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

Conversation

ngan
Copy link

@ngan ngan commented Feb 26, 2025

This PR adds support for RuboCop's Plugin feature:
rubocop/rubocop#13792

@ngan ngan requested a review from a team as a code owner February 26, 2025 01:32
Copy link
Member

@paracycle paracycle left a comment

Choose a reason for hiding this comment

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

The changes look good to me, but I guess this will mean that 0.9 and above of this gem will only work with RuboCop 1.72.1 and above.

I wish there was a gradual pathway to doing this so that we didn't have to drop support for older versions of RuboCop. 1.72 is very new and not everyone may be ready to upgrade to that.

Can we not keep the janky inject code, and gate it on the RuboCop version to change behaviour?

@ngan
Copy link
Author

ngan commented Mar 7, 2025

Can we not keep the janky inject code, and gate it on the RuboCop version to change behaviour?

@paracycle done

@ngan ngan force-pushed the rubocop-plugin branch from 901477e to aee8a7e Compare March 7, 2025 04:06
@Morriar
Copy link
Contributor

Morriar commented Mar 7, 2025

There are a few lint errors, looks like they can all be autocorrect with bundle exec rubocop -a.

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