Skip to content
This repository was archived by the owner on Nov 30, 2024. It is now read-only.

Upgrade rubocop, motivated by CVE. #338

Merged
merged 3 commits into from
Jan 10, 2018
Merged

Upgrade rubocop, motivated by CVE. #338

merged 3 commits into from
Jan 10, 2018

Conversation

xaviershay
Copy link
Member

Defaulted most new things to off, though tried to keep performance and linters.

Note that .rubocop_rspec_base doesn't 100% match up with rspec-dev because I was adding to it as we went along. Once these are all merged I'm planning to ensure they're all consistent.

Copy link
Member

@myronmarston myronmarston left a comment

Choose a reason for hiding this comment

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

❤️ ❤️ Thanks, @xaviershay!

.rubocop.yml Outdated

Lint/AssignmentInCondition:
Exclude:
# The pattern makes sense where
Copy link
Member

Choose a reason for hiding this comment

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

I don't understand this comment. Looks like you intended to write more after "where"?

Copy link
Member Author

Choose a reason for hiding this comment

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

lol, s/where/here/

@@ -147,7 +146,6 @@ def supports_rebinding_module_methods?
false
end
end
# rubocop:enable Lint/Eval
Copy link
Member

Choose a reason for hiding this comment

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

Does rubocop no longer support this way of disabling checks? Or do you just prefer putting the exception in the config file?

Copy link
Member Author

Choose a reason for hiding this comment

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

it does, but it was redundant here

@xaviershay
Copy link
Member Author

Current build failure: timeout on jruby 1.7. Retried it.

@JonRowe
Copy link
Member

JonRowe commented Jan 10, 2018

👍

@JonRowe JonRowe merged commit fd1ff3b into master Jan 10, 2018
@JonRowe JonRowe deleted the upgrade-rubocop branch January 10, 2018 22:55
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants