Update dependency rubocop to v1.81.6
This MR contains the following updates:
| Package | Update | Change | MyDiffEnd |
|---|---|---|---|
| rubocop (source, changelog) | patch |
1.81.1 -> 1.81.6
|
https://my.diffend.io/gems/rubocop/1.81.1/1.81.6 |
MR created with the help of gitlab-org/frontend/renovate-gitlab-bot
Release Notes
rubocop/rubocop (rubocop)
v1.81.6
Bug fixes
-
#14587: Fix an error for
Lint/SelfAssignmentwhen using[]=assignment with no arguments. ([@koic][]) -
#14572: Fix an error for
Style/ArrayIntersectwhenintersection(other).any?is called without a receiver. ([@koic][]) -
#14599: Fix a crash when
Style/ConditionalAssignmentis configured withassign_inside_conditionaland the conditional contains a multi-line regex. ([@martinemde][]) -
#14574: Fix false positives for
Style/RedundantInterpolationwhen using a one-line=>pattern matching. ([@koic][]) -
#14602: Fix false positives for
Style/EndlessMethodwhen heredoc is used in method body. ([@koic][]) -
#14594: Fix false positives for
Style/EndlessMethodwhen the endless method would exceed the maximum line length. ([@koic][]) -
#14605: Fix false positive for
Lint/EmptyInterpolationwhen interpolation is inside a%Wliteral. ([@dvandersluis][]) -
#14604: Fix
Style/RedundantFormatfalse positive when a interpolated value is given to a specifier with a width or precision. ([@dvandersluis][]) -
#14607: Fix
Style/RedundantFormathandling control characters like\n. ([@dvandersluis][]) -
#14577: Fix an incorrect autocorrect for
Style/Semicolonwhen a method call using hash value omission without parentheses is terminated with a semicolon. ([@koic][]) -
#14552: Fix a false positive for
Security/JSONLoadwhencreate_additionsis explicitly specified. ([@earlopain][])
Changes
-
#14566: Enhance
Lint::ConstantOverwrittenInRescuecop to detect offenses within fully qualified constants. ([@viralpraxis][]) -
#14575: Enhance
Lint/ConstantOverwrittenInRescuecop to detect offenses within nested constants. ([@viralpraxis][]) -
#14596: Change
Lint/ConstantOverwrittenInRescueto detect any constant assignment. ([@viralpraxis][]) -
#14568: Make
Style/LambdaCallautocorrection contextual. ([@koic][])
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.