troessner / reek

Code smell detector for Ruby
https://github.com/troessner/reek
MIT License
4k stars 279 forks source link

Update rubocop requirement from ~> 1.53.1 to ~> 1.54.0 #1723

Closed dependabot[bot] closed 12 months ago

dependabot[bot] commented 12 months ago

Updates the requirements on rubocop to permit the latest version.

Release notes

Sourced from rubocop's releases.

RuboCop 1.54

New features

  • #12000: Support safe or unsafe autocorrect config for LSP. (@​koic)

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

Changelog

Sourced from rubocop's changelog.

1.54.0 (2023-07-01)

New features

  • #12000: Support safe or unsafe autocorrect config for LSP. ([@​koic][])

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

  • #11983: Add Ridgepole files to default Include list. ([@​ydah][])
  • #11738: Enhances empty_line_between_defs to treat configured macros like defs. ([@​catwomey][])

1.53.1 (2023-06-26)

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][])

1.53.0 (2023-06-23)

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][])

... (truncated)

Commits
  • 1b578aa Cut 1.54
  • a31da69 Update Changelog
  • a60b19d Fix an error for Style/YodaCondition
  • 00dff13 [Fix #12007] Fix an error for Layout/SpaceAroundOperators
  • 2a606c4 [Fix #12005] Fix a false negative for Lint/Debugger
  • 7e8c47d Support safe or unsafe autocorrect config for LSP
  • 94fac02 [Fix #11998] Fix an error when inspecting blank heredoc delimiter
  • 00bd55b Fix code length calculator for method calls with heredoc
  • 293b7f4 Merge pull request #12004 from fatkodima/fix-lint-void-for-encoding
  • c7821e2 Fix Lint/Void cop for __ENCODING__ constant
  • 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 rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will 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 version` will 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 dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)