Skip to content

Bump rubocop from 1.49.0 to 1.50.0

George Koltsov requested to merge dependabot-bundler-rubocop-1.50.0 into main

Bumps rubocop from 1.49.0 to 1.50.0.

Release notes

Sourced from rubocop's releases.

RuboCop 1.50

New features

  • #11749: Add new Lint/DuplicateMatchPattern cop. (@​koic)
  • #11773: Make Layout/ClassStructure aware of singleton class. (@​koic)
  • #11779: Make Lint/RedundantStringCoercion aware of print method arguments. (@​koic)
  • #11776: Make Metrics/ClassLength aware of singleton class. (@​koic)
  • #11775: Make Style/TrailingBodyOnClass aware of singleton class. (@​koic)

Bug fixes

  • #11758: Fix a false positive for Style/RedundantLineContinuation when line continuations for string. (@​koic)
  • #11754: Fix a false positive for Style/RedundantLineContinuation when using && and || with a multiline condition. (@​ydah)
  • #11765: Fix an error for Style/MultilineMethodSignature when line break after def keyword. (@​koic)
  • #11762: Fix an incorrect autocorrect for Style/ClassEqualityComparison when comparing a variable or return value for equality. (@​koic)
  • #11752: Fix a false positive for Style/RedundantLineContinuation when using line concatenation and calling a method without parentheses. (@​koic)
Changelog

Sourced from rubocop's changelog.

1.50.0 (2023-04-11)

New features

  • #11749: Add new Lint/DuplicateMatchPattern cop. ([@​koic][])
  • #11773: Make Layout/ClassStructure aware of singleton class. ([@​koic][])
  • #11779: Make Lint/RedundantStringCoercion aware of print method arguments. ([@​koic][])
  • #11776: Make Metrics/ClassLength aware of singleton class. ([@​koic][])
  • #11775: Make Style/TrailingBodyOnClass aware of singleton class. ([@​koic][])

Bug fixes

  • #11758: Fix a false positive for Style/RedundantLineContinuation when line continuations for string. ([@​koic][])
  • #11754: Fix a false positive for Style/RedundantLineContinuation when using && and || with a multiline condition. ([@​ydah][])
  • #11765: Fix an error for Style/MultilineMethodSignature when line break after def keyword. ([@​koic][])
  • #11762: Fix an incorrect autocorrect for Style/ClassEqualityComparison when comparing a variable or return value for equality. ([@​koic][])
  • #11752: Fix a false positive for Style/RedundantLineContinuation when using line concatenation and calling a method without parentheses. ([@​koic][])
Commits
  • b71808e Cut 1.50
  • fbf9949 Update Changelog
  • d2bbe3a Make Lint/RedundantStringCoercion aware of print method arguments
  • b0e6591 Add specs for redundant SafeAutoCorrect: true and AutoCorrect: true
  • 27b7ceb Use RuboCop 1.17.1+
  • f060379 Use RuboCop Performance 1.17
  • a03573c Make Metrics/ClassLength aware of singleton class
  • 78d5dd5 Merge pull request #11775 from koic/make_style_trailing_body_on_class_aware_o...
  • 2c1f115 Make Style/TrailingBodyOnClass aware of singleton class
  • f1a7b6a Make Style/ClassStructure aware of singleton class
  • Additional commits viewable in compare view


Dependabot commands
You can trigger Dependabot actions by commenting on this MR
  • @dependabot-bot rebase will rebase this MR
  • @dependabot-bot recreate will recreate this MR rewriting all the manual changes and resolving conflicts

Merge request reports

Loading