Update rubocop 1.53.1 → 1.54.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.53.1 → 1.54.0) · Repo · Changelog
Release Notes
1.54.0
New features
Bug fixes
- #12005: Fix a false negative for
Lint/Debugger
when using debugger method inside lambda. (@koic)- #11986: Fix a false positive for
Lint/MixedCaseRange
when the number of characters at the start or end of range is other than 1. (@koic)- #11992: Fix an unexpected
NoMethodError
for built-in language server when an internal error occurs. (@koic)- #11994: Fix an error for
Layout/LineEndStringConcatenationIndentation
when inspecting the%
from string%\n\n
. (@koic)- #12007: Fix an error for
Layout/SpaceAroundOperators
when using unary operator with double colon. (@koic)- #11996: Fix an error for
Style/IfWithSemicolon
when without branch bodies. (@koic)- #12009: Fix an error for
Style/YodaCondition
when equality check method is used without the first argument. (@koic)- #11998: Fix an error when inspecting blank heredoc delimiter. (@koic)
- #11989: Fix an incorrect autocorrect for
Style/RedundantRegexpArgument
when using unicode chars. (@koic)- #12001: Fix code length calculator for method calls with heredoc. (@fatkodima)
- #12002: Fix
Lint/Void
cop for__ENCODING__
constant. (@fatkodima)Changes
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 21 commits:
Cut 1.54
Update Changelog
Fix an error for `Style/YodaCondition`
[Fix #12007] Fix an error for `Layout/SpaceAroundOperators`
[Fix #12005] Fix a false negative for `Lint/Debugger`
Support safe or unsafe autocorrect config for LSP
[Fix #11998] Fix an error when inspecting blank heredoc delimiter
Fix code length calculator for method calls with heredoc
Merge pull request #12004 from fatkodima/fix-lint-void-for-__encoding__
Fix `Lint/Void` cop for `__ENCODING__` constant
[Fix #11994] Fix an error for `Layout/LineEndStringConcatenationIndentation`
[Fix #11996] Fix an error for `Style/IfWithSemicolon`
Use `LambdaNode#lambda_literal?`
[Fix #11992] Fix an error for built-in language server
[Fix #11989] Fix an incorrect autocorrect for `Style/RedundantRegexpArgument`
[Doc] Tweak the LSP doc
Merge pull request #11987 from koic/fix_a_false_positive_for_lint_mixed_case_range
[Fix #11986] Fix a false positive for `Lint/MixedCaseRange`
Add Ridgepole files to default `Include` list
[Fix #11738]: Enhances empty_line_between_defs to treat configured macros like defs
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)