#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 of nil at the end of predicate method definition. ([@koic][])
Bug fixes
#12055: Allow parentheses in single-line match patterns when using the omit_parentheses style of Style/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
#12064: Make Style/RedundantArgument aware of exit and exit!. ([@koic][])
#12015: Mark Style/HashConversion as unsafe autocorrection. ([@koic][])
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps rubocop from 1.54.2 to 1.55.0.
Release notes
Sourced from rubocop's releases.
Changelog
Sourced from rubocop's changelog.
Commits
f3790af
Cut 1.556279c57
Update Changelog1dfe386
Merge pull request #12067 from p0deje/patch-1e00f96c
Add changelog entry for #12062d379d8e
FixLoadError
on Windows when loading RuboCop from symlinksa1b302a
Enable anonymous forwarding in Style/ArgumentsForwarding for Ruby 3.2+ (#11794)80efbc0
Merge pull request #12065 from alexeyschepin/fix_ebug_for_lint_shadowing_oute...72ea085
[Fix #11834] Fix false positive for when variable in inside conditional bran...9bc0064
MakeStyle/RedundantArgument
aware ofexit
andexit!
7989e7d
Make LSP server supportlintMode
parameterDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)