#10552: Require RuboCop AST 1.20.0+ to fix a false positive for Lint/OutOfRangeRegexpRef when using fixed-encoding regopt. (@koic)
#10512: Fix a false positive for Lint/ShadowingOuterLocalVariable conditional statement and block variable. (@ydah)
#10864: min and max results in false positives for Style/SymbolProc similarly to select and reject. (@mollerhoj)
#10846: Fix a false negative for Style/DoubleNegation when there is a hash or an array at return location of method. (@nobuyo)
#10875: Fix an obsolete option configuration values are duplicated when generating .rubocop_todo.yml. (@ydah)
#10877: Fix crash with Layout/BlockEndNewline heredoc detection. (@dvandersluis)
#10859: Fix Lint/Debugger to be able to handle method chains correctly. (@dvandersluis)
#10883: Fix Style/RedundantParentheses to be able to detect offenses and properly correct when the end parentheses and comma are on their own line. (@dvandersluis)
#10881: Fix Style/SoleNestedConditional to properly wrap block and csend nodes when necessary. (@dvandersluis)
#10867: Mark autocorrection for Lint/EmptyConditionalBody as unsafe. (@dvandersluis)
#10871: Restore RuboCop::ConfigLoader.project_root as deprecated. (@koic)
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.33.0 → 1.34.1) · Repo · Changelog
Release Notes
1.34.1
1.34.0
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 40 commits:
Cut 1.34.1
Update Changelog
[Fix #10893] Fix an error when running `rubocop` without `bundle exec`
Switch back docs version
Cut 1.34
Update Changelog
Support Bundler-like namespaced feature on require config
Merge pull request #10886 from dvandersluis/issue/10881
Merge pull request #10885 from dvandersluis/issue/10883
[Fix #10883] Fix `Style/RedundantParentheses` to be able to detect offenses and properly correct when the end parentheses and comma are on their own line.
[Fix #10881] Fix `Style/SoleNestedConditional` to properly wrap `block` and `csend` nodes when necessary.
Merge pull request #10887 from dvandersluis/lint/shadowed-exception
Merge pull request #10888 from dvandersluis/issue/10773
[Fix #10773] Update `parser` gem to >= 3.1.2.1.
Improve documentation for `Lint/ShadowedException`.
Merge pull request #10884 from mollerhoj/add_min_and_max_to_list_of_false_positives_for_style_symbol_proc
add min and max to list of false positives for Style/SymbolProc
[Fix #10552] Fix a false positive for `Lint/OutOfRangeRegexpRef`
Merge pull request #10880 from dgollahon/fix-elif-typo
Fix `elif` (`elsif`) typo
Mark deprecated method with `@deprecated`
[Fix #10512] Fix a false positive for `Lint/ShadowingOuterLocalVariable` conditional statement and block variable
[Fix #10648] Allow `Style/TernaryParentheses` to take priority over `Style/RedundantParentheses`.
[Fix #10877] Fix crash with `Layout/BlockEndNewline` heredoc detection.
Merge pull request #10875 from ydah/fix/duplicate_parameter
Merge pull request #10873 from dvandersluis/style/numeric-literals-allowed-patterns
Fix an obsolete option configuration values are duplicated when generating `.rubocop_todo.yml`
[Fix #10857] Add `AllowedPatterns` to `Style/NumericLiterals`.
Fix a broken link
[Fix #10871] Restore `RuboCop::ConfigLoader.project_root` as deprecated
[Fix #10846] Fix a false negative for `Style/DoubleNegation` when there is a hash or an array at return location of method
Merge pull request #10869 from dvandersluis/lint/debugger-method-chains
Fix `InternalAffairs/SingleLineComparison` issues.
Add new `InternalAffairs/SingleLineComparison` cop.
[Fix #10859] Fix `Lint/Debugger` to be able to handle method chains correctly.
Mark autocorrection for `Lint/EmptyConditionalBody` as unsafe.
[Fix #10731] Show tip for suggested extensions that are installed but not loaded in .rubocop.yml
[Docs] Fix broken xrefs
Tweak a changelog entry
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