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 (0.81 → 1.16.0) · Repo · Changelog
Release Notes
Too many releases to show here. View the full release notes.
Commits
See the full diff on Github. The new version differs by 26 commits:
Cut 1.16
Update Changelog
Support Ruby 2.7's pattern matching for `Layout/SpaceAroundKeyword`
[Fix #9839] Add `AllowedReceivers` option for `Style/HashEachMethods`
[Fix #9836] Fix incorrect corrections for `Layout/HashAlignment` when a `kwsplat` node is on the same line as a `pair` node with table style.
Support Ruby 2.7's pattern matching syntax for `Layout/SpaceAroundKeyword`
Add new `Style/MultilineInPatternThen` cop
Add new `Style/InPatternThen` cop
Support auto-correction for `Style/IdenticalConditionalBranches`
Add new `Lint/EmptyInPattern` cop
Refine offense message for `Style/WhenThen`
[Fix #9822] Fix a false range for `Lint/RedundantCopDisableDirective`
[Fix #9819] Fix a false negative for `Style/TopLevelMethodDefinition`
Support `in` pattern syntax for `Layout/CaseIndentation`
Merge pull request #9812 from koic/fix_an_error_for_layout_argument_alignment
Use `defined?` instead of `Psych::VERSION`
Merge pull request #9809 from dvandersluis/issue/9793
[Fix #9811] Fix an error for `Layout/ArgumentAlignment`
Fix a false negative for `Layout/HashAlignment`
Change `Lint/SymbolConversion` to only quote with double quotes, since `Style/QuotedSymbols` can now correct those to the correct quotes as per configuration.
[Fix #9793] Add `Style/QuotedSymbols` to enforce consistency in quoted symbols.
Merge pull request #9808 from koic/workaournd_for_mingw_build_error
Workaround for mingw build error
Merge pull request #9806 from koic/fix_build_error_for_ruby_3_1_0
Fix a build error for Ruby 3.1.0-dev
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