Update rubocop 1.54.2 → 1.55.0 (minor)
Here is everything you need to know about this update. Please take a good look at what changed and the test results before merging this pull request.
What changed?
✳ ️ rubocop (1.54.2 → 1.55.0) · Repo · Changelog
Release Notes
1.55.0
New features
- #11794: Add support to
Style/ArgumentsForwarding
for anonymous arg/kwarg forwarding in Ruby 3.2. (@owst)- #12044: Make LSP server support
layoutMode
option to run layout cops. (@koic)- #12056: Make LSP server support
lintMode
option to run lint cops. (@koic)- #12046: Make
ReturnNilInPredicateMethodDefinition
aware ofnil
at the end of predicate method definition. (@koic)Bug fixes
- #12055: Allow parentheses in single-line match patterns when using the
omit_parentheses
style ofStyle/MethodCallWithArgsParentheses
. (@gsamokovarov)- #12050: Fix a false positive for
Layout/RedundantLineBreak
when inspecting the%
form string%\n\n
. (@koic)- #12063: Fix
Style/CombinableLoops
when one of the loops is empty. (@fatkodima)- #12059: Fix a false negative for
Style/StringLiteralsInInterpolation
for symbols with interpolation. (@fatkodima)- #11834: Fix false positive for when variable in inside conditional branch in nested node. (@alexeyschepin)
- #11802: Improve handling of
[]
and()
with percent symbol arrays. (@jasondoc3)- #12052: Fix "Subfolders can't include glob special characters". (@meric426, @loveo)
- #12062: Fix
LoadError
when loading RuboCop from a symlinked location on Windows. (@p0deje)Changes
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 32 commits:
Cut 1.55
Update Changelog
Merge pull request #12067 from p0deje/patch-1
Add changelog entry for #12062
Fix `LoadError` on Windows when loading RuboCop from symlinks
Enable anonymous forwarding in Style/ArgumentsForwarding for Ruby 3.2+ (#11794)
Merge pull request #12065 from alexeyschepin/fix_ebug_for_lint_shadowing_outer_local_variable
[Fix #11834] Fix false positive for when variable in inside conditional branch in nested node
Make `Style/RedundantArgument` aware of `exit` and `exit!`
Make LSP server support `lintMode` parameter
Merge pull request #12063 from fatkodima/fix-combinable_loops-when-empty-loop
Fix `Style/CombinableLoops` when one of the loops is empty
Merge pull request #12060 from fatkodima/fix-string_literals_in_interpolation-dsym
Fix a false negative for `Style/StringLiteralsInInterpolation` for symbols with interpolation
Merge pull request #12037 from jasondoc3/consider_brackets_as_bad_for_style_symbol_array
[Fix rubocop#11802] Improve handling of delimiters with percent style symbol arrays
Use `delete_suffix` to delete file extension
[Docs] Update the LSP document
Merge pull request #12054 from meric426/master
[Docs] Update the LSP document
[Fix #12052] Handle all glob special characters
Merge pull request #12055 from gsamokovarov/parentheses-in-single-line-pattern-match
Allow parentheses in single-line match patterns
[Docs] Update some links in the Integration with Other Tools doc
Merge pull request #12050 from koic/fix_an_error_for_layout_redundant_line_break
Fix a false positive for `Layout/RedundantLineBreak`
[Docs] Add reference to LSP to quickstart section
[Fix #12015] Mark `Style/HashConversion` as unsafe autocorrection
[Fix #12046] Make `ReturnNilInPredicateMethodDefinition` aware of `nil` at the end of method
[Fix #12044] Make LSP server support `layoutMode` parameter
[Docs] Add a footnote
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
- @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 cancel merge
- Cancels automatic merging of this PR
- @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)