Skip to content

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Apr 28, 2025

Bumps rubocop from 1.57.2 to 1.75.4.

Release notes

Sourced from rubocop's releases.

RuboCop v1.75.4

Bug fixes

  • #14123: Fix an infinite loop error for Lint/BooleanSymbol when using the rocket hash syntax with a boolean symbol key. (@​koic)
  • #14134: Fix an error for Style/ComparableBetween when comparing the value with itself. (@​earlopain)
  • #14111: Fix an error for Style/SafeNavigation when the RHS of && is a complex || expression composed of && conditions. (@​koic)
  • #14129: Fix false positives for Style/ArgumentsForwarding when using default positional arg, keyword arg, and block arg in Ruby 3.1. (@​koic)
  • #14110: Fix false positives for Style/RedundantParentheses when parens around basic conditional as the second argument of a parenthesized method call. (@​koic)
  • #14120: Fix false positives for Style/RedundantParentheses when parens around unparenthesized method call as the second argument of a parenthesized method call. (@​koic)
  • #14133: Fix Lint/LiteralAsCondition autocorrect when a literal is the condition of an elsif followed by an else. (@​zopolis4)
  • #14116: Make Style/TrailingCommaInArguments cop aware of trailing commas in [] method call. (@​viralpraxis)
  • #14114: Fix Style/ClassAndModuleChildren cop error on tab-intended compactable modules. (@​viralpraxis)

Changes

RuboCop v1.75.3

Bug fixes

  • #13676: Allow RuboCop to inspect hidden directories if they are explicitly provided. (@​viralpraxis)
  • #14080: Allow writing RBS::Inline annotation #: after end keyword in Style/CommentedKeyword. (@​dak2)
  • #14075: Fix an error for Layout/EmptyLineAfterGuardClause when calling a method on the result of a single-line if with return. (@​koic)
  • #14067: Fix false negatives for Style/RedundantParentheses when using parens around singleton method body. (@​koic)
  • #14070: Fix false positives for EnforcedStyleForMultiline: diff_comma of Style/TrailingCommaInArrayLiteral and Style/TrailingCommaInHashLiteral when trailing comma with comment. (@​koic)
  • #14092: Fix false negative for Style/RedundantParentheses when using some operator methods with a parenthesized argument. (@​koic)
  • #14103: Fix Layout/MultilineOperationIndentation cop error on indexasgn node without arguments. (@​viralpraxis)
  • #14089: Fix redundant current directory prefix regexp. (@​sferik)
  • #14099: Fix Style/ClassAndModuleChildren cop error on one-liner class definition and nested enforced style. (@​viralpraxis)
  • #14083: Fix Style/ConditionalAssignment cop error on one-line if-then-else. (@​viralpraxis)
  • #14104: Fix Style/ConditionalAssignment cop error on indexed assignment without arguments. (@​viralpraxis)
  • #14084: Fix Style/RedundantLineContinuation cop error on multiline assignment with line continuation. (@​viralpraxis)
  • #14096: Fix error for Style/SafeNavigation with longer && chain (e.g. a && a.b && a.b.c). (@​lovro-bikic)
  • #14068: Fix wrong autocorrection for Style/MapIntoArray when using push or append with hash argument without braces. (@​lovro-bikic)

Changes

... (truncated)

Changelog

Sourced from rubocop's changelog.

1.75.4 (2025-04-28)

Bug fixes

  • #14123: Fix an infinite loop error for Lint/BooleanSymbol when using the rocket hash syntax with a boolean symbol key. ([@​koic][])
  • #14134: Fix an error for Style/ComparableBetween when comparing the value with itself. ([@​earlopain][])
  • #14111: Fix an error for Style/SafeNavigation when the RHS of && is a complex || expression composed of && conditions. ([@​koic][])
  • #14129: Fix false positives for Style/ArgumentsForwarding when using default positional arg, keyword arg, and block arg in Ruby 3.1. ([@​koic][])
  • #14110: Fix false positives for Style/RedundantParentheses when parens around basic conditional as the second argument of a parenthesized method call. ([@​koic][])
  • #14120: Fix false positives for Style/RedundantParentheses when parens around unparenthesized method call as the second argument of a parenthesized method call. ([@​koic][])
  • #14133: Fix Lint/LiteralAsCondition autocorrect when a literal is the condition of an elsif followed by an else. ([@​zopolis4][])
  • #14116: Make Style/TrailingCommaInArguments cop aware of trailing commas in [] method call. ([@​viralpraxis][])
  • #14114: Fix Style/ClassAndModuleChildren cop error on tab-intended compactable modules. ([@​viralpraxis][])

Changes

1.75.3 (2025-04-22)

Bug fixes

  • #13676: Allow RuboCop to inspect hidden directories if they are explicitly provided. ([@​viralpraxis][])
  • #14080: Allow writing RBS::Inline annotation #: after end keyword in Style/CommentedKeyword. ([@​dak2][])
  • #14075: Fix an error for Layout/EmptyLineAfterGuardClause when calling a method on the result of a single-line if with return. ([@​koic][])
  • #14067: Fix false negatives for Style/RedundantParentheses when using parens around singleton method body. ([@​koic][])
  • #14070: Fix false positives for EnforcedStyleForMultiline: diff_comma of Style/TrailingCommaInArrayLiteral and Style/TrailingCommaInHashLiteral when trailing comma with comment. ([@​koic][])
  • #14092: Fix false negative for Style/RedundantParentheses when using some operator methods with a parenthesized argument. ([@​koic][])
  • #14103: Fix Layout/MultilineOperationIndentation cop error on indexasgn node without arguments. ([@​viralpraxis][])
  • #14089: Fix redundant current directory prefix regexp. ([@​sferik][])
  • #14099: Fix Style/ClassAndModuleChildren cop error on one-liner class definition and nested enforced style. ([@​viralpraxis][])
  • #14083: Fix Style/ConditionalAssignment cop error on one-line if-then-else. ([@​viralpraxis][])
  • #14104: Fix Style/ConditionalAssignment cop error on indexed assignment without arguments. ([@​viralpraxis][])
  • #14084: Fix Style/RedundantLineContinuation cop error on multiline assignment with line continuation. ([@​viralpraxis][])
  • #14096: Fix error for Style/SafeNavigation with longer && chain (e.g. a && a.b && a.b.c). ([@​lovro-bikic][])
  • #14068: Fix wrong autocorrection for Style/MapIntoArray when using push or append with hash argument without braces. ([@​lovro-bikic][])

Changes

1.75.2 (2025-04-03)

Changes

  • #14065: Update Lint/RedundantTypeConversion to register an offense for to_json.to_s. ([@​lovro-bikic][])

Bug fixes

... (truncated)

Commits
  • eeda3b2 Cut 1.75.4
  • 4ad182c Update Changelog
  • da245af Fix Lint/LiteralAsCondition autocorrect when a literal is the condition of ...
  • c9d38e1 [Fix #14116] Make Style/TrailingCommaInArguments cop aware of trailing comm...
  • f669bb1 Fix Style/ClassAndModuleChildren cop error on tab-intended compactable modules
  • 7d1070b Fix an error for Style/ComparableBetween when comparing the value with itself
  • a2f38ce Merge pull request #14130 from koic/fix_false_positive_for_style_arguments_fo...
  • 3aadb46 [Fix #14129] Fix false positives for Style/ArgumentsForwarding
  • d3f6b08 Merge pull request #14126 from koic/fix_an_error_lint_boolean_symbol
  • 7dea554 [Fix #14123] Fix an error for Lint/BooleanSymbol
  • 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.4.
- [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.4)

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

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file ruby Pull requests that update Ruby code labels Apr 28, 2025
@github-actions github-actions bot enabled auto-merge April 28, 2025 18:56
Copy link
Contributor Author

dependabot bot commented on behalf of github May 5, 2025

Superseded by #510.

@dependabot dependabot bot closed this May 5, 2025
auto-merge was automatically disabled May 5, 2025 17:29

Pull request was closed

@dependabot dependabot bot deleted the dependabot/bundler/rubocop-1.75.4 branch May 5, 2025 17:29
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.

0 participants