-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Fix Rubocop performance deprecation warning #5795
Comments
I'd be happy to tackle this issue. |
Hey, I'm a first time user of GitHub and would love to know if I can assist you in any way? @kodyclemens |
@Esh08 Unfortunately I think this issue may have to wait as Codeclimate does not yet support the new gem, which is resulting in failing tests. |
Thanks! That's too bad - maybe we can mark the PR with that and then merge it hopefully down the road once it is supported? Thank you for your help!!! |
@kodyclemens @jywarren CodeClimate currently only supports rubocop ~> 0.52.0. We had this same issue with mapknitter at publiclab/mapknitter#547 |
Is this needed now? This link says that codeclimate should support rubocop-performance: Let me know and I'll create a pull request. |
Hi there, I would like to take this issue (as a first-timers-only) :) |
@Lisa-Caton go ahead its all yours |
great - I'll get started asap! Thanks so much. |
I think I am stuck. When I did the pr it looks like my branch isn't passing checks with my submission. https://github.com/publiclab/plots2/pull/6437 I've only added the 2 lines to the code. And when I ran |
Hi @Lisa-Caton I will take a look |
Thanks!! |
Is this issue solved? Can we close this? |
Let's close it! Looks OK! |
🤔 What you will need to know.
Nothing. This issue is meant to welcome you to Open Source :) We are happy to walk you through the process.
📋 Step by Step
Problem:
Performance cops have been removed from RuboCop 0.68
📝 Update:
Put this in
Gemfile
.Then add this in
.rubocop.yml
.After changing run
bundle install
💾 Commit your changes
🔀 Start a Pull Request. There are two ways how you can start a pull request:
If you are familiar with the terminal or would like to learn it, here is a great tutorial on how to send a pull request using the terminal.
You can also edit files directly in your browser and open a pull request from there.
🤔❓ Questions?
Leave a comment below!
The text was updated successfully, but these errors were encountered: