Skip to content

Bump rubocop from 1.25.1 to 1.26.0

George Koltsov requested to merge dependabot/bundler/rubocop-1.26.0 into main

Created by: dependabot[bot]

Bumps rubocop from 1.25.1 to 1.26.0.

Release notes

Sourced from rubocop's releases.

RuboCop 1.26

New features

Bug fixes

  • #10406: Fix a false positive for Lint/InheritException when inheriting a standard lib exception class that is not a subclass of StandardError. (@​koic)
  • #10421: Make Style/DefWithParentheses aware of endless method definition. (@​koic)
  • #10401: Fix a false positive for Style/HashSyntax when local variable hash key and hash value are the same. (@​koic)
  • #10424: Fix a false positive for Security/YamlLoad when using Ruby 3.1+ (Psych 4). (@​koic)
  • #10446: Lint/RedundantDirGlobSort unset SafeAutoCorrect. (@​friendlyantz)
  • #10403: Fix an error for Style/StringConcatenation when string concatenation with multiline heredoc text. (@​koic)
  • #10432: Fix an error when using regexp with non-encoding option. (@​koic)
  • #10415: Fix an error for Lint/UselessTimes when using 1.times with method chain. (@​koic)

Changes

Changelog

Sourced from rubocop's changelog.

1.26.0 (2022-03-09)

New features

Bug fixes

  • #10406: Fix a false positive for Lint/InheritException when inheriting a standard lib exception class that is not a subclass of StandardError. ([@​koic][])
  • #10421: Make Style/DefWithParentheses aware of endless method definition. ([@​koic][])
  • #10401: Fix a false positive for Style/HashSyntax when local variable hash key and hash value are the same. ([@​koic][])
  • #10424: Fix a false positive for Security/YamlLoad when using Ruby 3.1+ (Psych 4). ([@​koic][])
  • #10446: Lint/RedundantDirGlobSort unset SafeAutoCorrect. ([@​friendlyantz][])
  • #10403: Fix an error for Style/StringConcatenation when string concatenation with multiline heredoc text. ([@​koic][])
  • #10432: Fix an error when using regexp with non-encoding option. ([@​koic][])
  • #10415: Fix an error for Lint/UselessTimes when using 1.times with method chain. ([@​koic][])

Changes

  • #10408: Mark Lint/InheritException as unsafe auto-correction. ([@​koic][])
  • #10407: Change EnforcedStyle from runtime_error to standard_error for Lint/InheritException. ([@​koic][])
  • #10414: Update auto-gen-config's auto-correction comments to be more clear. ([@​maxjacobson][])
  • #10427: Mark Style/For as unsafe auto-correction. ([@​issyl0][])
  • #10410: Improve help string for --fail-level CLI option. ([@​tejasbubane][])
Commits
  • e1e4637 Cut 1.26
  • ff85270 Update Changelog
  • 857e682 Mark Lint/RedundantDirGlobSort's autocorrection as unsafe (#10446)
  • c95a26d Add new Style/NestedFileDirname cop
  • bfc6bfb Add logic to ensure badge information (Department/Name) is in CamelCase (#10271)
  • c59c090 Merge pull request #10445 from cbliard/patch-2
  • 47ec9de Indicate what MFA means in Gemspec/RequireMFA cop documentation
  • fed5c29 Tweak the doc for Layout/CaseIndentation
  • 105f94c Merge pull request #10444 from ydah/fix-doc-formatting
  • e9ebf75 Fix doc formatting written in unescaped file path
  • Additional commits viewable in compare view

Dependabot compatibility score

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)

Merge request reports

Loading