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

Upgrade Rubocop #12

Merged
merged 3 commits into from Jun 29, 2020
Merged

Upgrade Rubocop #12

merged 3 commits into from Jun 29, 2020

Conversation

jasdeepgosal
Copy link
Member

Since version ~0.80, rubocop now warns you about new rules and you have to explicitly enable or disable them.

I reviewed each of these rules and decided to keep them, primarily because I either liked what the rule did or it was trivial, autocorrectable, and I trust the rubocop/rails community. I’m open to changing any of the rules if they prove problematic.

Docs: https://docs.rubocop.org/rubocop/0.85/versioning.html#pending-cops

I tried upgrading to the latest version (0.86), but that resulted in some gem version conflicts that would’ve required upgrading capyabara, which I already decided I don’t want to deal with yet: https://github.com/charitywater/maji/pull/9460/commits/dd9d67ea89bfffcc93da97c012aee8c1ff69f389

BracesAroundHashParameters was removed: rubocop/rubocop#7641

[#172410772]

Since version ~0.80, rubocop now warns you about new rules and you have to explicitly enable or disable them. 

I reviewed each of these rules and decided to keep them, primarily because I either liked what the rule did or it was trivial, autocorrectable, and I trust the rubocop/rails community. I’m open to changing any of the rules if they prove problematic. 

Docs: https://docs.rubocop.org/rubocop/0.85/versioning.html#pending-cops

I tried upgrading to the latest version (0.86), but that resulted in some gem version conflicts that would’ve required upgrading capyabara, which I already decided I don’t want to deal with yet: charitywater/maji@dd9d67e

BracesAroundHashParameters was removed: rubocop/rubocop#7641

[#172410772]
[#172410772]
@jasdeepgosal jasdeepgosal merged commit a534f66 into master Jun 29, 2020
@jasdeepgosal jasdeepgosal deleted the upgrade-172410772 branch June 29, 2020 13:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants