[ruby] Upgrade rubocop to version 1.50.0 #245
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Here is everything you need to know about this upgrade. Please take a good look at what changed and the test results before merging this pull request.
What changed?
✳️ rubocop (~> 1.49.0 → ~> 1.50.0) · Repo · Changelog
Release Notes
1.50.0
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 27 commits:
Cut 1.50
Update Changelog
Make `Lint/RedundantStringCoercion` aware of print method arguments
Add specs for redundant `SafeAutoCorrect: true` and `AutoCorrect: true`
Use RuboCop 1.17.1+
Use RuboCop Performance 1.17
Make `Metrics/ClassLength` aware of singleton class
Merge pull request #11775 from koic/make_style_trailing_body_on_class_aware_of_singleton_class
Make `Style/TrailingBodyOnClass` aware of singleton class
Make `Style/ClassStructure` aware of singleton class
Fix typos
[Fix #11765] Fix an error for `Style/MultilineMethodSignature`
Merge pull request #11769 from ydah/style-file-empty-only-safe-false
Remove redundant `SafeAutoCorrect: false`
Rake task: Handle missing docs folder / TOC file
Rake task: Extract a `docs_path` variable
Use preferred methods instead deprecated methods for `AST::ProcessedSource`
[Fix #11762] Fix an incorrect autocorrect for `Style/ClassEqualityComparison`
[Fix #11758] Fix a false positive for `Style/RedundantLineContinuation`
Merge pull request #11752 from koic/fix_a_false_positive_for_style_redundant_line_continuation
Fix a false positive for `Style/RedundantLineContinuation`
Merge pull request #11754 from ydah/fix-false-positive-for-RedundantLineContinuation
Fix a false positive for `Style/RedundantLineContinuation` when using `&&` and `||` with a multiline condition.
Add new `Lint/DuplicateMatchPattern` cop
Move a changelog entry
Add missing changes to the changelog and the release notes (#11751)
Switch back the docs version
Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with
@depfu rebase
.All Depfu comment commands