Skip to content

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

Compare Source

Bug fixes
  • #​14469: Fix an incorrect autocorrect for Style/BitwisePredicate when using & with LHS flags in conjunction with == for comparisons. ([@​koic][])
  • #​14459: Fix wrong autocorrect for Style/For with save navigation in the collection. ([@​earlopain][])
  • #​14435: Fix false negatives for regexp cops when Lint/DuplicateRegexpCharacterClassElement is enabled. ([@​earlopain][])
  • #​14419: Fix false positives for Lint/UselessAssignment when duplicate assignments appear in nested if branches inside a loop and the variable is used outside while loop. ([@​koic][])
  • #​14468: Fix false positives for Naming/MethodName when an operator method is defined using a string. ([@​koic][])
  • #​14427: Fix false positives for Style/RedundantParentheses when do...end block is wrapped in parentheses as a method argument. ([@​koic][])
  • #​14441: Better hash access handling in Style/SafeNavigation. ([@​issyl0][])
  • #​14443: Fix false positive in Layout/EmptyLinesAfterModuleInclusion when include does not have exactly one argument. ([@​issyl0][])
  • #​14424: Fix Style/SafeNavigation cop 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/UselessAssignment with for loops when the variable is referenced in the collection. ([@​earlopain][])
  • #​14447: Fix wrong autocorrect for Style/RedundantCondition with a parenthesised method call in the condition. ([@​earlopain][])
Changes

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻️ Rebasing: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this MR and you won't be reminded about this update again.


  • If you want to rebase/retry this MR, check this box

This MR has been generated by Renovate Bot.

Merge request reports

Loading