#9834: Add new Style/MultilineInPatternThen cop. (@koic)
Bug fixes
#9822: Fix a false directive comment range for Lint/RedundantCopDisableDirective. (@koic)
#9819: Fix a false negative for Style/TopLevelMethodDefinition when defining a top-level method after a class definition. (@koic)
#9836: Fix incorrect corrections for Layout/HashAlignment when a kwsplat node is on the same line as a pair node with table style. (@dvandersluis)
#9805: Fix a false negative for Layout/HashAlignment when set EnforcedStyle: with_fixed_indentation of ArgumentAlignment. (@koic)
#9811: Fix an error for Layout/ArgumentAlignment with Layout/FirstHashElementIndentation when setting EnforcedStyle: with_fixed_indentation. (@koic)
Changes
#9809: Change Lint/SymbolConversion to only quote with double quotes, since Style/QuotedSymbols can now correct those to the correct quotes as per configuration. (@dvandersluis)
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
@depfu rebase
Rebases against your default branch and redoes this update
@depfu recreate
Recreates this PR, overwriting any edits that you've made to it
@depfu merge
Merges this PR once your tests are passing and conflicts are resolved
@depfu close
Closes this PR and deletes the branch
@depfu reopen
Restores the branch and reopens this PR (if it's closed)
@depfu pause
Ignores all future updates for this dependency and closes this PR
@depfu pause [minor|major]
Ignores all future minor/major updates for this dependency and closes this PR
@depfu resume
Future versions of this dependency will create PRs again (leaves this PR as is)
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.12.0 → ~> 1.16.0) · Repo · Changelog
Release Notes
1.16.0
Does any of this look wrong? Please let us know.
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