Update dependency rubocop to v1.80.0
This MR contains the following updates:
| Package | Update | Change | MyDiffEnd |
|---|---|---|---|
| rubocop (source, changelog) | minor |
1.79.2 -> 1.80.0
|
https://my.diffend.io/gems/rubocop/1.79.2/1.80.0 |
MR created with the help of gitlab-org/frontend/renovate-gitlab-bot
Release Notes
rubocop/rubocop (rubocop)
v1.80.0
Bug fixes
-
#14469: Fix an incorrect autocorrect for
Style/BitwisePredicatewhen using&with LHS flags in conjunction with==for comparisons. ([@koic][]) -
#14459: Fix wrong autocorrect for
Style/Forwith save navigation in the collection. ([@earlopain][]) -
#14435: Fix false negatives for regexp cops when
Lint/DuplicateRegexpCharacterClassElementis enabled. ([@earlopain][]) -
#14419: Fix false positives for
Lint/UselessAssignmentwhen duplicate assignments appear in nestedifbranches inside a loop and the variable is used outsidewhileloop. ([@koic][]) -
#14468: Fix false positives for
Naming/MethodNamewhen an operator method is defined using a string. ([@koic][]) -
#14427: Fix false positives for
Style/RedundantParentheseswhendo...endblock is wrapped in parentheses as a method argument. ([@koic][]) -
#14441: Better hash access handling in
Style/SafeNavigation. ([@issyl0][]) -
#14443: Fix false positive in
Layout/EmptyLinesAfterModuleInclusionwhenincludedoes not have exactly one argument. ([@issyl0][]) -
#14424: Fix
Style/SafeNavigationcop to preserve existing safe navigation in fixed code. ([@martinemde][]) - #14455: Follow module inclusion with nonzero args with an empty line. ([@issyl0][])
-
#14445: Fix false positives for
Lint/UselessAssignmentwithforloops when the variable is referenced in the collection. ([@earlopain][]) -
#14447: Fix wrong autocorrect for
Style/RedundantConditionwith a parenthesised method call in the condition. ([@earlopain][])
Changes
-
#14428: Enhance
Lint/SelfAssignmentto handle indexed assignment with multiple arguments. ([@viralpraxis][]) -
#14464: Exclude
AutoCorrectandIncludefrom configuration parameters. ([@r7kamura][]) -
#14472: Make
Style/RedundantBeginaware ofcasepattern matching. ([@koic][]) -
#14448: Register array intersection size checks as offenses under
Style/ArrayIntersect. ([@lovro-bikic][]) -
#14431: Support LSP
TextDocumentSyncKind.Incremental. ([@tmtm][]) -
#14453: Update
Style/RedundantBeginto registerbeginblocks insideif,unless,case,whileanduntilas redundant. ([@dvandersluis][])
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.