-
Notifications
You must be signed in to change notification settings - Fork 983
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
Add latest rubocop and use Ruby 2.6+ #1311
Conversation
c1a52b3
to
1fcfef4
Compare
This commit enables the Naming/InclusiveLanguage rule.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fantastic work @olleolleolle and well done keeping the todo file under control 👏
I just have a question about auto-correctable cops
We are after the side-effect of setting something in the last match, from this "useless" RegExp.
also Performance/RedundantSplitRegexpArgument.
# Configuration parameters: IgnoredMethods. | ||
Metrics/PerceivedComplexity: | ||
Max: 14 | ||
|
||
# Offense count: 3 | ||
Style/DocumentDynamicEvalDefinition: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I want to talk a bit about this rule, since the fix will have visual impact, and we'd like to pick the nicest alternative.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is good as is IMO, we can discuss the pending points offline and address in a follow-up
Description
This introduces the latest RuboCop version, and sets lower bound of Ruby support to 2.6.
This does the absolute minimum, to get it configured.
See #1309
Todos
Additional Notes
We will see if there are many separate steps to take, if we need a big checklist & issues etc.