Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump rubocop from 1.19.1 to 1.31.0 #96

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jun 28, 2022

Bumps rubocop from 1.19.1 to 1.31.0.

Release notes

Sourced from rubocop's releases.

RuboCop 1.31

New features

Bug fixes

  • #10700: Update Style/EmptyMethod to not correct if the correction would exceed the configuration for Layout/LineLength. (@​dvandersluis)
  • #10698: Enhance Style/HashExcept to support array inclusion checks. (@​nobuyo)
  • #10734: Handle ClobberingError in Style/NestedTernaryOperator when there are multiple nested ternaries. (@​dvandersluis)
  • #10689: Fix autocorrect for Layout/FirstHashElementIndentation and Layout/FirstArrayElementIndentation. (@​j-miyake)
  • Fix rubocop -V not displaying the version information for rubocop-graphql, rubocop-md and rubocop-thread_safety. (@​Darhazer)
  • #10711: Fix an error for Style/MultilineTernaryOperator when the false branch is on a separate line. (@​koic)
  • #10719: Fix a false positive for Lint/ParenthesesAsGroupedExpression when using safe navigation operator. (@​koic)
  • #10736: Fix Layout/SpaceInsideBlockBraces for blocks with numbered arguments. (@​gsamokovarov)
  • #10749: Fix Style/BlockDelimiters for blocks with numbered arguments. (@​gsamokovarov)
  • #10737: Fix crash in Style/ConditionalAssignment with EnforcedStyle: assign_inside_condition when op-assigning a variable inside a resbody. (@​dvandersluis)
  • #7900: Fix Style/FormatStringToken false positive with formatted input and template style enforced, and add autocorrection. (@​FnControlOption)

Changes

  • #10730: Change output timing of GitHubActionsFormatter. (@​r7kamura)
  • #10709: Deprecate rubocop:auto_correct custom rake task and newly split rubocop:autocorrect and rubocop:autocorrect-all custom rake tasks. (@​koic)
  • #9760: Change RangeHelp#range_with_surrounding_space to allow passing the range as a positional argument. (@​pirj)
  • #10693: Add ignore case for Style/EmptyLinesAroundAttributeAccessor when there is a comment line on the next line. (@​ydah)
  • #10245: (Breaking) integrate Gemspec/DateAssignment into Gemspec/DeprecatedAttributeAssignment. (@​kaitielth)
  • #10697: Restore Lint/UselessElseWithoutRescue cop. (@​koic)
  • #10740: Make Style/GuardClause a bit more lenient when the replacement would make the code more verbose. (@​dvandersluis)

RuboCop 1.30.1

Bug fixes

... (truncated)

Changelog

Sourced from rubocop's changelog.

1.31.0 (2022-06-27)

New features

Bug fixes

  • #10700: Update Style/EmptyMethod to not correct if the correction would exceed the configuration for Layout/LineLength. ([@​dvandersluis][])
  • #10698: Enhance Style/HashExcept to support array inclusion checks. ([@​nobuyo][])
  • #10734: Handle ClobberingError in Style/NestedTernaryOperator when there are multiple nested ternaries. ([@​dvandersluis][])
  • #10689: Fix autocorrect for Layout/FirstHashElementIndentation and Layout/FirstArrayElementIndentation. ([@​j-miyake][])
  • Fix rubocop -V not displaying the version information for rubocop-graphql, rubocop-md and rubocop-thread_safety. ([@​Darhazer][])
  • #10711: Fix an error for Style/MultilineTernaryOperator when the false branch is on a separate line. ([@​koic][])
  • #10719: Fix a false positive for Lint/ParenthesesAsGroupedExpression when using safe navigation operator. ([@​koic][])
  • #10736: Fix Layout/SpaceInsideBlockBraces for blocks with numbered arguments. ([@​gsamokovarov][])
  • #10749: Fix Style/BlockDelimiters for blocks with numbered arguments. ([@​gsamokovarov][])
  • #10737: Fix crash in Style/ConditionalAssignment with EnforcedStyle: assign_inside_condition when op-assigning a variable inside a resbody. ([@​dvandersluis][])
  • #7900: Fix Style/FormatStringToken false positive with formatted input and template style enforced, and add autocorrection. ([@​FnControlOption][])

Changes

  • #10730: Change output timing of GitHubActionsFormatter. ([@​r7kamura][])
  • #10709: Deprecate rubocop:auto_correct custom rake task and newly split rubocop:autocorrect and rubocop:autocorrect-all custom rake tasks. ([@​koic][])
  • #9760: Change RangeHelp#range_with_surrounding_space to allow passing the range as a positional argument. ([@​pirj][])
  • #10693: Add ignore case for Style/EmptyLinesAroundAttributeAccessor when there is a comment line on the next line. ([@​ydah][])
  • #10245: (Breaking) integrate Gemspec/DateAssignment into Gemspec/DeprecatedAttributeAssignment. ([@​kaitielth][])
  • #10697: Restore Lint/UselessElseWithoutRescue cop. ([@​koic][])
  • #10740: Make Style/GuardClause a bit more lenient when the replacement would make the code more verbose. ([@​dvandersluis][])

1.30.1 (2022-06-06)

Bug fixes

  • #10685: Fix a false positive for Style/StringConcatenation when Mode: conservative and first operand is not string literal. ([@​koic][])
  • #10670: Fix a false positive for Style/FetchEnvVar in the body with assignment method. ([@​ydah][])
  • #10671: Fix an incorrect autocorrect for EnforcedStyle: with_first_argument of Layout/ArgumentAlignment and EnforcedColonStyle: separator of Layout/HashAlignment. ([@​koic][])
  • #10676: Fix --ignore-unrecognized-cops option always showing empty warning even if there was no problem. ([@​nobuyo][])
  • #10674: Fix a false positive for Naming/AccessorMethodName with type of the first argument is other than arg. ([@​ydah][])
  • #10679: Fix a false positive for Style/SafeNavigation when TargetRubyVersion: 2.2 or lower. ([@​koic][])

Changes

  • #10673: Update auto-gen-config's comment re auto-correct for SafeAutoCorrect: false. ([@​ydah][])

... (truncated)

Commits
  • f94048d Cut 1.31
  • d4d590f Update Changelog
  • f9febbe Add new Lint/NonAtomicFileOperation cop
  • ae3dec3 Merge pull request #10749 from gsamokovarov/numblock-delimiters
  • 199c4b7 Fix Style/BlockDelimiters for blocks with numbered arguments
  • 9e286a0 Pass range as a positional arg to RangeHelp#range_with_surrounding_space
  • bdd1d1f #9760 Allow positional range arg in range_with_surrounding_space
  • 4998f9e Merge pull request #10747 from dvandersluis/doc/style/empty-method
  • c912ade Add note to Style/EmptyMethod documentation about autocorrection re: `Layou...
  • 83d500f [Fix #10734] Handle ClobberingError in Style/NestedTernaryOperator when t...
  • 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)

Bumps [rubocop](https://github.com/rubocop/rubocop) from 1.19.1 to 1.31.0.
- [Release notes](https://github.com/rubocop/rubocop/releases)
- [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md)
- [Commits](rubocop/rubocop@v1.19.1...v1.31.0)

---
updated-dependencies:
- dependency-name: rubocop
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Jun 28, 2022
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Jun 30, 2022

Superseded by #97.

@dependabot dependabot bot closed this Jun 30, 2022
@dependabot dependabot bot deleted the dependabot/bundler/rubocop-1.31.0 branch June 30, 2022 03:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants