Skip to content

Bump rubocop from 1.55.1 to 1.56.0

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

Bumps rubocop from 1.55.1 to 1.56.0.

Release notes

Sourced from rubocop's releases.

RuboCop 1.56

New features

Bug fixes

  • #12106: Fix a false negative for Style/RedundantReturn when returning value with guard clause and return is used. (@​koic)
  • #12095: Fix a false positive for Style/Alias when EncforcedStyle: prefer_alias and using alias 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 call x.().(). (@​koic)
  • #12099: Fix an incorrect autocorrect for Style/Alias when EncforcedStyle: prefer_alias_method and using alias with interpolated symbol argument. (@​koic)
  • #12085: Fix an error for Lint/SuppressedException when AllowNil: 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

  • #12094: Add base64 gem to runtime dependency to suppress Ruby 3.3's warning. (@​koic)
Changelog

Sourced from rubocop's changelog.

1.56.0 (2023-08-09)

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 and return is used. ([@​koic][])
  • #12095: Fix a false positive for Style/Alias when EncforcedStyle: prefer_alias and using alias 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 call x.().(). ([@​koic][])
  • #12099: Fix an incorrect autocorrect for Style/Alias when EncforcedStyle: prefer_alias_method and using alias with interpolated symbol argument. ([@​koic][])
  • #12085: Fix an error for Lint/SuppressedException when AllowNil: 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

  • #12094: Add base64 gem to runtime dependency to suppress Ruby 3.3's warning. ([@​koic][])
Commits
  • e597ca1 Cut 1.56
  • 3036b2c Tweak whitespace
  • 74f0032 Update Changelog
  • 964235c Add new Bundler/DuplicatedGroup cop (#12074)
  • c078235 With --fail-level A ignore non-correctable offenses at :info severity
  • 320ac56 Merge pull request #12103 from owst/fixup_additional_args_forwarding
  • 08e614f [Fix #12087] Fix false positives for Style/ArgumentsForwarding
  • f871c38 [Fix #12106] Fix a false negative for Style/RedundantReturn
  • 235f749 Merge pull request #12102 from koic/fix_an_error_for_style_lambda_call
  • 57dd392 Fix an error for Style/LambdaCall
  • 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

Loading