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 new Rubocop 0.84 interface for correctors #172

Conversation

pftg
Copy link

@pftg pftg commented May 22, 2020

Rubocop changed interface and after
rubocop/rubocop#7863 it requires correctors
to accept nodes.

Closes #162

@pftg pftg force-pushed the 162-fix-no-method-error-for-rubocop-84 branch 2 times, most recently from c540049 to 3cd3840 Compare May 22, 2020 19:49
Rubocop changed interface and after
rubocop/rubocop#7863 it requires correctors
to accept nodes.

Closes Shopify#162
@pftg pftg force-pushed the 162-fix-no-method-error-for-rubocop-84 branch from 3cd3840 to 8beb0f0 Compare May 22, 2020 20:10
@pftg
Copy link
Author

pftg commented May 23, 2020

Hey, @etiennebarrie @EiNSTeiN- here is another bug fix. Please check when you will have a time

Copy link
Member

@etiennebarrie etiennebarrie left a comment

Choose a reason for hiding this comment

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

Thanks!
So the tests fail without the changes as early as 0.74, the minimum version required by the gem. From a quick test I seem to reproduce the fact that autocorrect isn't really working for rubocop. Given your changes it works! 🎉

@pftg
Copy link
Author

pftg commented May 26, 2020

@etiennebarrie could you guide me, what the next steps we require in order to merge PR in this repo?

Thanks for review

@alex-benoit
Copy link

@etiennebarrie small nudge 😊 would love to get our erb linter up and running again 🚀

@etiennebarrie
Copy link
Member

Sorry and thanks for reminding me.
I thought I could find the time to merge more PRs before releasing a new version, so I could wait for more reviews for this one. Given none of that happened, I'll release a new version with just this fix. Thanks for the PR!

@etiennebarrie etiennebarrie merged commit 7f5a351 into Shopify:master Jun 15, 2020
@etiennebarrie etiennebarrie temporarily deployed to production June 15, 2020 18:24 Inactive
@pftg pftg deleted the 162-fix-no-method-error-for-rubocop-84 branch June 16, 2020 06:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants