Update rubocop 1.55.1 → 1.56.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.55.1 → 1.56.0) · Repo · Changelog
Release Notes
1.56.0
New features
- #12074: Add new
Bundler/DuplicatedGroup
cop. (@OwlKing)- #12078: Make LSP server support
rubocop.formatAutocorrectsAll
execute command. (@koic)Bug fixes
- #12106: Fix a false negative for
Style/RedundantReturn
when returning value with guard clause andreturn
is used. (@koic)- #12095: Fix a false positive for
Style/Alias
whenEncforcedStyle: prefer_alias
and usingalias
with interpolated symbol argument. (@koic)- #12098: Fix a false positive for
Style/ClassEqualityComparison
when comparing interpolated string class name for equality. (@koic)- #12102: Fix an error for
Style/LambdaCall
when using nested lambda callx.().()
. (@koic)- #12099: Fix an incorrect autocorrect for
Style/Alias
whenEncforcedStyle: prefer_alias_method
and usingalias
with interpolated symbol argument. (@koic)- #12085: Fix an error for
Lint/SuppressedException
whenAllowNil: true
is set and endless method definition is used. (@koic)- #12087: Fix false positives for
Style/ArgumentsForwarding
with additional args/kwargs in def/send nodes. (@owst)- #12071: Fix
Style/SymbolArray
false positives when using square brackets or interpolation in a symbol literal in a percent style array. (@jasondoc3)- #12061: Support regex in StringLiteralsInInterpolation. (@jonas054)
- #12091: With
--fail-level A
ignore non-correctable offenses at :info severity. (@naveg)Changes
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 24 commits:
Cut 1.56
Tweak whitespace
Update Changelog
Add new `Bundler/DuplicatedGroup` cop (#12074)
With `--fail-level A` ignore non-correctable offenses at :info severity
Merge pull request #12103 from owst/fixup_additional_args_forwarding
[Fix #12087] Fix false positives for Style/ArgumentsForwarding
[Fix #12106] Fix a false negative for `Style/RedundantReturn`
Merge pull request #12102 from koic/fix_an_error_for_style_lambda_call
Fix an error for `Style/LambdaCall`
Merge pull request #12099 from koic/fix_an_incorrect_autocorrect_for_style_alias
Fix an incorrect autocorrect for `Style/Alias`
Fix a false positive for `Style/ClassEqualityComparison`
Merge pull request #12095 from koic/fix_a_false_positive_for_style_alias
Fix a false positive for `Style/Alias`
Make LSP server support `rubocop.formatAutocorrectsAll` execute command
Add `base64` to runtime dependency
Merge pull request #12092 from jonas054/12061_StringLiteralsInInterpolation_regex
[Fix #12061] Support regex in StringLiteralsInInterpolation
Merge pull request #12086 from koic/fix_error_for_lint_suppressed_exception
Merge pull request #12088 from jasondoc3/jason/fix-false-positive-symbol-array
[Fix #12071] Fix Style/SymbolArray false positives
[Fix #12085] Fix an error for `Lint/SuppressedException`
Switch back the docs version
🆕 base64 (added, 0.1.1)
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)