Skip to content

Bump rubocop from 1.54.2 to 1.55.0

George Koltsov requested to merge dependabot-bundler-rubocop-1.55.0 into main

Bumps rubocop from 1.54.2 to 1.55.0.

Release notes

Sourced from rubocop's releases.

RuboCop 1.55

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 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)
Changelog

Sourced from rubocop's changelog.

1.55.0 (2023-07-25)

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 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][])
Commits
  • f3790af Cut 1.55
  • 6279c57 Update Changelog
  • 1dfe386 Merge pull request #12067 from p0deje/patch-1
  • e00f96c Add changelog entry for #12062
  • d379d8e Fix LoadError on Windows when loading RuboCop from symlinks
  • a1b302a 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 Make Style/RedundantArgument aware of exit and exit!
  • 7989e7d Make LSP server support lintMode parameter
  • Additional commits viewable in compare view


Dependabot commands
You can trigger Dependabot actions by commenting on this MR
  • @dependabot-bot recreate will recreate this MR rewriting all the manual changes and resolving conflicts

Merge request reports