Skip to content

fix(deps): update dependency rubocop to v1.54.1

Sylvain Desbureaux requested to merge renovate/ruby into main

This MR contains the following updates:

Package Update Change
rubocop (source, changelog) minor 1.52.1 -> 1.54.1

Release Notes

rubocop/rubocop (rubocop)

v1.54.1

Compare Source

Bug fixes
  • #​12024: Fix a false positive for Lint/RedundantRegexpQuantifiers when interpolation is used in a regexp literal. ([@​koic][])
  • #​12020: This MR fixes an infinite loop error for Layout/SpaceAfterComma with Layout/SpaceBeforeSemicolon when autocorrection conflicts. ([@​koic][])
  • #​12014: Fix an error for Lint/UselessAssignment when part of a multiple assignment is enclosed in parentheses. ([@​koic][])
  • #​12011: Fix an error for Metrics/MethodLength when using a heredoc in a block without block arguments. ([@​koic][])
  • #​12010: Fix false negatives for Style/RedundantRegexpArgument when using safe navigation operator. ([@​koic][])

v1.54.0

Compare Source

New features
Bug fixes
  • #​12005: Fix a false negative for Lint/Debugger when using debugger method inside lambda. ([@​koic][])
  • #​11986: Fix a false positive for Lint/MixedCaseRange when the number of characters at the start or end of range is other than 1. ([@​koic][])
  • #​11992: Fix an unexpected NoMethodError for built-in language server when an internal error occurs. ([@​koic][])
  • #​11994: Fix an error for Layout/LineEndStringConcatenationIndentation when inspecting the % from string %\n\n. ([@​koic][])
  • #​12007: Fix an error for Layout/SpaceAroundOperators when using unary operator with double colon. ([@​koic][])
  • #​11996: Fix an error for Style/IfWithSemicolon when without branch bodies. ([@​koic][])
  • #​12009: Fix an error for Style/YodaCondition when equality check method is used without the first argument. ([@​koic][])
  • #​11998: Fix an error when inspecting blank heredoc delimiter. ([@​koic][])
  • #​11989: Fix an incorrect autocorrect for Style/RedundantRegexpArgument when using unicode chars. ([@​koic][])
  • #​12001: Fix code length calculator for method calls with heredoc. ([@​fatkodima][])
  • #​12002: Fix Lint/Void cop for __ENCODING__ constant. ([@​fatkodima][])
Changes

v1.53.1

Compare Source

Bug fixes
  • #​11974: Fix an error for Style/RedundantCurrentDirectoryInPath when using string interpolation in require_relative. ([@​koic][])
  • #​11981: Fix an incorrect autocorrect for Style/RedundantRegexpArgument when using double quote and single quote characters. ([@​koic][])
  • #​11836: Should not offense single-quoted symbol containing double quotes in Lint/SymbolConversion . ([@​KessaPassa][])

v1.53.0

Compare Source

New features
Bug fixes
  • #​11953: Fix a false negative for Lint/DuplicateHashKey when there is a duplicated constant key in the hash literal. ([@​koic][])
  • #​11945: Fix a false negative for Style/RedundantSelfAssignmentBranch when using method chaining or arguments in ternary branch. ([@​koic][])
  • #​11949: Fix a false positive for Layout/RedundantLineBreak when using a line broken string. ([@​koic][])
  • #​11931: Fix a false positive for Lint/RedundantRequireStatement when using PP.pp. ([@​koic][])
  • #​11946: Fix an error for Lint/NumberConversion when using multiple number conversion methods. ([@​koic][])
  • #​11972: Fix an error for Lint/Void when CheckForMethodsWithNoSideEffects: true and using a method definition. ([@​koic][])
  • #​11958: Fix error for Style/IdenticalConditionalBranches when using empty parentheses in the if branch. ([@​koic][])
  • #​11962: Fix an error for Style/RedundantStringEscape when an escaped double quote precedes interpolation in a symbol literal. ([@​koic][])
  • #​11947: Fix an error for Style/ConditionalAssignment with an assignment that uses if branch bodies, which include a block. ([@​koic][])
  • #​11959: Fix false negatives for Layout/EmptyLinesAroundExceptionHandlingKeywords when using Ruby 2.5's rescue inside block and Ruby 2.7's numbered block. ([@​koic][])
  • #​10902: Fix an error for Style/RedundantRegexpEscape string with invalid byte sequence in UTF-8. ([@​ydah][])
  • #​11562: Fixed escaped octal handling and detection in Lint/DuplicateRegexpCharacterClassElement. ([@​rwstauner][])
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.

Edited by Sylvain Desbureaux

Merge request reports