Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 26, 2025

Bumps rubocop from 1.57.2 to 1.75.0.

Release notes

Sourced from rubocop's releases.

RuboCop v1.75.0

New features

Bug fixes

  • #14022: Fix an error for Style/HashFetchChain when no arguments are given to fetch. (@​koic)
  • #14028: Fix false negative for Layout/MultilineMethodParameterLineBreaks when class method definitions are used. (@​vlad-pisanov)
  • #14027: Fix false negative for Layout/LineLength when autocorrecting class method definitions. (@​vlad-pisanov)
  • #8099: Fix infinite loop between Layout/SpaceAroundOperators and Layout/HashAlignment with EnforcedHashRocketStyle being an array containing table. (@​dvandersluis)
  • #14021: Fix handling of long heredoc lines with SplitStrings enabled. (@​mauro-oto)
  • #13968: Fix InternalAffairs/RedundantDescribedClassAsSubject cop error on missing describe. (@​viralpraxis)
  • #14036: Fix false negative for Lint/ShadowingOuterLocalVariable when block local variable is used inside a condition. (@​lovro-bikic)
  • #13990: Fix a false positive for Lint/UselessAssignment when a variable is reassigned in a different branch. (@​eugeneius)
  • #14012: Fix incorrect autocorrections for Style/SoleNestedConditional. (@​lovro-bikic)
  • #14020: Fix comment autocorrection for Style/IfInsideElse. (@​lovro-bikic)

Changes

RuboCop v1.74.0

New features

... (truncated)

Changelog

Sourced from rubocop's changelog.

1.75.0 (2025-03-26)

New features

Bug fixes

  • #14022: Fix an error for Style/HashFetchChain when no arguments are given to fetch. ([@​koic][])
  • #14028: Fix false negative for Layout/MultilineMethodParameterLineBreaks when class method definitions are used. ([@​vlad-pisanov][])
  • #14027: Fix false negative for Layout/LineLength when autocorrecting class method definitions. ([@​vlad-pisanov][])
  • #8099: Fix infinite loop between Layout/SpaceAroundOperators and Layout/HashAlignment with EnforcedHashRocketStyle being an array containing table. ([@​dvandersluis][])
  • #14021: Fix handling of long heredoc lines with SplitStrings enabled. ([@​mauro-oto][])
  • #13968: Fix InternalAffairs/RedundantDescribedClassAsSubject cop error on missing describe. ([@​viralpraxis][])
  • #14036: Fix false negative for Lint/ShadowingOuterLocalVariable when block local variable is used inside a condition. ([@​lovro-bikic][])
  • #13990: Fix a false positive for Lint/UselessAssignment when a variable is reassigned in a different branch. ([@​eugeneius][])
  • #14012: Fix incorrect autocorrections for Style/SoleNestedConditional. ([@​lovro-bikic][])
  • #14020: Fix comment autocorrection for Style/IfInsideElse. ([@​lovro-bikic][])

Changes

  • #12358: Add does as a forbidden prefix to Naming/PredicateName. ([@​dvandersluis][])
  • #13621: Add ForbiddenIdentifiers and ForbiddenPatterns config options to Naming/MethodName cop. ([@​tejasbubane][])
  • #13986: Add support for Array#intersection to Style/ArrayIntersect. ([@​dvandersluis][])
  • #14006: Allow cop renames to trigger warnings instead of fatal errors. ([@​dvandersluis][])
  • #13617: Use the prism translation layer to analyze Ruby 3.4+ by default. ([@​earlopain][])
  • #14024: Change Style/RedundantParentheses to offend parentheses for chained && expressions. ([@​lovro-bikic][])
  • #14029: Add AllowConsecutiveConditionals setting to Style/Next to allow consecutive conditional statements. ([@​vlad-pisanov][])
  • #14016: Update Style/RedundantFormat to register offenses when the only argument to format or sprintf is a constant. ([@​dvandersluis][])

1.74.0 (2025-03-13)

New features

Bug fixes

  • #13969: Fix a false positive for Lint/SharedMutableDefault when capacity keyword argument is used. ([@​koic][])
  • #13945: Fix a false positive for Style/DoubleNegation when calling define_method/define_singleton_method with a numblock. ([@​earlopain][])
  • #13971: Fix false alarm for config obsoletion. ([@​koic][])
  • #13960: Fix a false negative for Lint/ReturnInVoidContext when returning out of a block. ([@​earlopain][])

... (truncated)

Commits
  • 9c2bc8e Cut 1.75
  • 95ed987 Update Changelog
  • f969e0d Fix handling of long heredoc lines with SplitStrings enabled
  • 91fafeb Fix comment autocorrection for Style/IfInsideElse
  • 6758e24 Add AllowConsecutiveConditionals setting to Style/Next to allow consecuti...
  • b266838 Fix false negative for Lint/ShadowingOuterLocalVariable
  • 5342a6e [Fix #13597] Add new Style/ItBlockParameter cop
  • d09e469 [Fixes #12358] Add does as a forbidden prefix to Naming/PredicateName
  • 596db4f Enable reusable Prism parse result for Ruby LSP add-on
  • f7798b9 Tweak the output of rubocop -V when TargetRubyVersion <= 3.2
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [rubocop](https://github.com/rubocop/rubocop) from 1.57.2 to 1.75.0.
- [Release notes](https://github.com/rubocop/rubocop/releases)
- [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md)
- [Commits](rubocop/rubocop@v1.57.2...v1.75.0)

---
updated-dependencies:
- dependency-name: rubocop
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file ruby Pull requests that update Ruby code labels Mar 26, 2025
@github-actions github-actions bot enabled auto-merge March 26, 2025 17:33
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Mar 27, 2025

Superseded by #505.

@dependabot dependabot bot closed this Mar 27, 2025
auto-merge was automatically disabled March 27, 2025 17:55

Pull request was closed

@dependabot dependabot bot deleted the dependabot/bundler/rubocop-1.75.0 branch March 27, 2025 17:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file ruby Pull requests that update Ruby code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant