Bump rubocop from 1.36.0 to 1.81.0
Closed
Number: #228
Type: Pull Request
State: Closed
Type: Pull Request
State: Closed
Author:
dependabot[bot]
Association: Contributor
Comments: 2
Association: Contributor
Comments: 2
Created:
September 25, 2025 at 11:05 PM UTC
(10 months ago)
(10 months ago)
Updated:
September 26, 2025 at 11:04 PM UTC
(10 months ago)
(10 months ago)
Closed:
September 26, 2025 at 11:04 PM UTC
(10 months ago)
(10 months ago)
Time to Close:
about 24 hours
Description:
Bumps rubocop from 1.36.0 to 1.81.0.
Release notes
Sourced from rubocop's releases.
RuboCop v1.81.0
New features
- #14512: Add
Style/ArrayIntersectWithSingleElementcop. (@r7kamura)- #10971: Support
EnforcedStyleForMultiline: diff_commainStyle/TrailingCommaInArguments. (@akouryy)Bug fixes
- #14560: Fix an error for
Style/NilComparisoncop when using thevar.==(nil)andvar.===(nil)syntax. (@viralpraxis)- #14535: Fix autocorrect for
Style/ExplicitBlockArgumentwhen there are two methods that share the same implementation. (@earlopain)- #14527: Fix false negatives for
Style/NumberedParametersandStyle/ItBlockParameterwhen using multiline method chain withEnforcedStyle: allow_single_line. (@koic)- #14522: Fix false negatives for
Layout/MultilineOperationIndentationwhen using indented code on LHS of equality operator in modifier method definition. (@koic)- #14496: Fix false negatives for
Layout/EmptyLineBetweenDefsforAllowAdjacentOneLineDefs: falseandDefLikeMacrosthat take no block. (@earlopain)- #14553: Fix false positives when
EnforcedStyle: allowed_in_returnsand!!appears across multiple lines in return position. (@koic)- #14557: Fix false positives for
Style/RedundantParentheseswhen parentheses are used around a one-linerescueexpression as a condition. (@koic)- #14525: Fix false positives for
Style/RedundantRegexpEscapewhen an escaped variable sigil follows#(e.g.,/#\@foo/,/#\@@bar/,/#\$baz/). (@koic)- #14529: Fix false negative in
Layout/RescueEnsureAlignmentwith a block whose send node is split over multiple lines. (@dvandersluis)- #14528: Fix
Style/RedundantFormatwhen the format string has a variable width that isn't given as a literal value. (@dvandersluis)- #14541: Fix gemspec parsing error when
ParserEngine: parser_prismis configured in a base config file. (@sudoremo)- #14544: Fix an incorrect autocorrect for
Lint/Voidwhen using a return value in assignment method definition. (@koic)- #14543: Fix an incorrect autocorrect for
Style/RedundantRegexpArgumentwhen using escaped single quote character. (@koic)- #14540: Fix an incorrect autocorrect for
Style/UnlessElsewhen usingunlesswiththen. (@koic)- #14507: Fix the built-in Ruby LSP add-on not restarting when config files (
.rubocop.yml,.rubocop_todo.yml) change. (@earlopain)- #14514: Fix the built-in Ruby LSP add-on not respecting
.rubocopconfig file. (@earlopain)- #14508: Fix the built-in Ruby LSP add-on getting in an irrecoverable state when the config is invalid on startup. (
@earlopain)- #14534: Prevent
Layout/LineLengthautocorrection from splitting a block if its receiver contains a heredoc. (@dvandersluis)- #14497: Fix a false positive for
Lint/ShadowedArgumentwhen assigning inside arescueblock. (@earlopain)Changes
RuboCop v1.80.2
Bug fixes
- #14477: Fix a false positive for
Style/SafeNavigationwhen using ternary expression with index access call with method chain. (@koic)- #14486: Fix false positives for
Style/RedundantParentheseswith unary operators andyield,super, ordefined?. (@earlopain)- #14489: Fix false negatives for
Style/RedundantParentheseswith method calls taking argument without parentheses likereturn (x y) if z. (@earlopain)- #14499: Fix wrong autocorrect for
Style/StringConcatenationwhen a double-quoted string contains escaped quotes and interpolation. (@earlopain)- #14502: Fix wrong autocorrect for
Style/StringConcatenationwhen a single-quoted string contains interpolation like'#{foo}'. (@earlopain)
... (truncated)
Changelog
Sourced from rubocop's changelog.
1.81.0 (2025-09-25)
New features
- #14512: Add
Style/ArrayIntersectWithSingleElementcop. ([@r7kamura][])- #10971: Support
EnforcedStyleForMultiline: diff_commainStyle/TrailingCommaInArguments. ([@akouryy][])Bug fixes
- #14560: Fix an error for
Style/NilComparisoncop when using thevar.==(nil)andvar.===(nil)syntax. ([@viralpraxis][])- #14535: Fix autocorrect for
Style/ExplicitBlockArgumentwhen there are two methods that share the same implementation. ([@earlopain][])- #14527: Fix false negatives for
Style/NumberedParametersandStyle/ItBlockParameterwhen using multiline method chain withEnforcedStyle: allow_single_line. ([@koic][])- #14522: Fix false negatives for
Layout/MultilineOperationIndentationwhen using indented code on LHS of equality operator in modifier method definition. ([@koic][])- #14496: Fix false negatives for
Layout/EmptyLineBetweenDefsforAllowAdjacentOneLineDefs: falseandDefLikeMacrosthat take no block. ([@earlopain][])- #14553: Fix false positives when
EnforcedStyle: allowed_in_returnsand!!appears across multiple lines in return position. ([@koic][])- #14557: Fix false positives for
Style/RedundantParentheseswhen parentheses are used around a one-linerescueexpression as a condition. ([@koic][])- #14525: Fix false positives for
Style/RedundantRegexpEscapewhen an escaped variable sigil follows#(e.g.,/#\@foo/,/#\@@bar/,/#\$baz/). ([@koic][])- #14529: Fix false negative in
Layout/RescueEnsureAlignmentwith a block whose send node is split over multiple lines. ([@dvandersluis][])- #14528: Fix
Style/RedundantFormatwhen the format string has a variable width that isn't given as a literal value. ([@dvandersluis][])- #14541: Fix gemspec parsing error when
ParserEngine: parser_prismis configured in a base config file. ([@sudoremo][])- #14544: Fix an incorrect autocorrect for
Lint/Voidwhen using a return value in assignment method definition. ([@koic][])- #14543: Fix an incorrect autocorrect for
Style/RedundantRegexpArgumentwhen using escaped single quote character. ([@koic][])- #14540: Fix an incorrect autocorrect for
Style/UnlessElsewhen usingunlesswiththen. ([@koic][])- #14507: Fix the built-in Ruby LSP add-on not restarting when config files (
.rubocop.yml,.rubocop_todo.yml) change. ([@earlopain][])- #14514: Fix the built-in Ruby LSP add-on not respecting
.rubocopconfig file. ([@earlopain][])- #14508: Fix the built-in Ruby LSP add-on getting in an irrecoverable state when the config is invalid on startup. ([
@earlopain][])- #14534: Prevent
Layout/LineLengthautocorrection from splitting a block if its receiver contains a heredoc. ([@dvandersluis][])- #14497: Fix a false positive for
Lint/ShadowedArgumentwhen assigning inside arescueblock. ([@earlopain][])Changes
1.80.2 (2025-09-03)
Bug fixes
- #14477: Fix a false positive for
Style/SafeNavigationwhen using ternary expression with index access call with method chain. ([@koic][])- #14486: Fix false positives for
Style/RedundantParentheseswith unary operators andyield,super, ordefined?. ([@earlopain][])- #14489: Fix false negatives for
Style/RedundantParentheseswith method calls taking argument without parentheses likereturn (x y) if z. ([@earlopain][])- #14499: Fix wrong autocorrect for
Style/StringConcatenationwhen a double-quoted string contains escaped quotes and interpolation. ([@earlopain][])- #14502: Fix wrong autocorrect for
Style/StringConcatenationwhen a single-quoted string contains interpolation like'#{foo}'. ([@earlopain][])Changes
1.80.1 (2025-08-27)
Bug fixes
... (truncated)
Commits
386bf10Cut 1.81148250dUpdate Changelogface244Fix an error forStyle/NilComparisoncopd8c1d4cFix an error forInternalAffairsOnSendWithoutOnCSendwithalias_methodan...ec897eaMerge pull request #14551 from Earlopain/empty-line-def-macro-no-block076ba7b[Fix #14496] Fix false negatives forLayout/EmptyLineBetweenDefswith `Allo...f669aaa[Fix #14557] Fix false positives forStyle/RedundantParenthesesd0bc9e1[Fix #14541] Fix gemspec parsing error when parser_prism is configured3a0260d[Fix #10971] Adddiff_commaoption to Style/TrailingCommaInArgumentsf92d6e1[Fix #14544] Fix an incorrect autocorrect forLint/Void- Additional commits viewable in compare view
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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Pull Request Statistics
Commits:
1
1
Files Changed:
2
2
Additions:
+28
+28
Deletions:
-20
-20
Package Dependencies
Technical Details
| ID: | 8452771 |
| UUID: | 2862130335 |
| Node ID: | PR_kwDOIFCZBs6qmKSf |
| Host: | GitHub |
| Repository: | RubyOnWorld/allure-ruby |
| Mergeable: | Yes |
| Merge State: | Unstable |