mtsmfm / language_server-ruby

A Ruby Language Server implementation
MIT License
259 stars 10 forks source link

Update rubocop requirement from 0.52.1 to 1.13.0 #156

Closed dependabot-preview[bot] closed 3 years ago

dependabot-preview[bot] commented 3 years ago

Updates the requirements on rubocop to permit the latest version.

Release notes

Sourced from rubocop's releases.

RuboCop 1.13

New features

  • #7977: Add Layout/RedundantLineBreak cop. (@jonas054)
  • #9691: Add configuration parameter InspectBlocks to Layout/RedundantLineBreak. (@jonas054)
  • #9684: Support IgnoredMethods option for Lint/AmbguousBlockAssociation. (@gprado)
  • #9358: Support restrictive_version_specificiers option in Bundler/GemComment cop. (@RobinDaugherty)

Bug fixes

  • #5576: Fix problem with inherited Include parameters. (@jonas054)
  • #9690: Fix an incorrect auto-correct for Style/IfUnlessModifier when using a method with heredoc argument. (@koic)
  • #9681: Fix an incorrect auto-correct for Style/RedundantBegin when using modifier if single statement in begin block. (@koic)
  • #9698: Fix an error for Style/StructInheritance when extending instance of Struct without do ... end and class body is empty and single line definition. (@koic)
  • #9700: Avoid warning about Ruby version mismatch. (@marcandre)
  • #9636: Resolve symlinks when excluding directories. (@ob-stripe)
  • #9707: Fix false positive for Style/MethodCallWithArgsParentheses with omit_parentheses style on an endless defs node. (@dvandersluis)
  • #9689: Treat parens around array items the same for children and deeper descendants. (@dvandersluis)
  • #9676: Fix an error for Style/StringChars when using split without parentheses. (@koic)
  • #9712: Fix an incorrect auto-correct for Style/HashConversion when Hash[] as a method argument without parentheses. (@koic)
  • #9704: Fix an incorrect auto-correct for Style/SingleLineMethods when single line method call without parentheses. (@koic)
  • #9683: Fix an incorrect auto-correct for Style/HashConversion when using zip method without argument in Hash[]. (@koic)
  • #9715: Fix an incorrect auto-correct for EnforcedStyle: require_parentheses of Style/MethodCallWithArgsParentheses with Style/RescueModifier. (@koic)

Changes

  • #7544: Add --no-parallel (-P/--parallel can not be combined with --auto-correct). (@kwerle)
  • #9648: Drop support for Ruby 2.4. (@koic)
  • #9647: The parallel flag will now be automatically ignored when combined with --auto-correct, --auto-gen-config, or -F/--fail-fast. Previously, an error was raised and execution stopped. (@rrosenblum)
Changelog

Sourced from rubocop's changelog.

1.13.0 (2021-04-20)

New features

  • #7977: Add Layout/RedundantLineBreak cop. ([@jonas054][])
  • #9691: Add configuration parameter InspectBlocks to Layout/RedundantLineBreak. ([@jonas054][])
  • #9684: Support IgnoredMethods option for Lint/AmbguousBlockAssociation. ([@gprado][])
  • #9358: Support restrictive_version_specificiers option in Bundler/GemComment cop. ([@RobinDaugherty][])

Bug fixes

  • #5576: Fix problem with inherited Include parameters. ([@jonas054][])
  • #9690: Fix an incorrect auto-correct for Style/IfUnlessModifier when using a method with heredoc argument. ([@koic][])
  • #9681: Fix an incorrect auto-correct for Style/RedundantBegin when using modifier if single statement in begin block. ([@koic][])
  • #9698: Fix an error for Style/StructInheritance when extending instance of Struct without do ... end and class body is empty and single line definition. ([@koic][])
  • #9700: Avoid warning about Ruby version mismatch. ([@marcandre][])
  • #9636: Resolve symlinks when excluding directories. ([@ob-stripe][])
  • #9707: Fix false positive for Style/MethodCallWithArgsParentheses with omit_parentheses style on an endless defs node. ([@dvandersluis][])
  • #9689: Treat parens around array items the same for children and deeper descendants. ([@dvandersluis][])
  • #9676: Fix an error for Style/StringChars when using split without parentheses. ([@koic][])
  • #9712: Fix an incorrect auto-correct for Style/HashConversion when Hash[] as a method argument without parentheses. ([@koic][])
  • #9704: Fix an incorrect auto-correct for Style/SingleLineMethods when single line method call without parentheses. ([@koic][])
  • #9683: Fix an incorrect auto-correct for Style/HashConversion when using zip method without argument in Hash[]. ([@koic][])
  • #9715: Fix an incorrect auto-correct for EnforcedStyle: require_parentheses of Style/MethodCallWithArgsParentheses with Style/RescueModifier. ([@koic][])

Changes

  • #7544: Add --no-parallel (-P/--parallel can not be combined with --auto-correct). ([@kwerle][])
  • #9648: Drop support for Ruby 2.4. ([@koic][])
  • #9647: The parallel flag will now be automatically ignored when combined with --auto-correct, --auto-gen-config, or -F/--fail-fast. Previously, an error was raised and execution stopped. ([@rrosenblum][])

1.12.1 (2021-04-04)

Bug fixes

  • #9649: Fix when highlights contain multibyte characters. ([@osyo-manga][])
  • #9646: Fix an incorrect auto-correct for EnforcedStyle: require_parentheses of Style/MethodCallWithArgsParentheses with EnforcedStyle: conditionals of Style/AndOr. ([@koic][])
  • #9608: Fix a false positive for Layout/EmptyLineAfterGuardClause when using guard clause is after rubocop:enable comment. ([@koic][])
  • #9637: Allow parentheses for forwarded args in Style/MethodCallWithArgsParentheses's omit_parentheses style to avoid endless range ambiguity. ([@gsamokovarov][])
  • #9641: Fix Layout/MultilineMethodCallIndentation triggering on method calls that look like operators. ([@dvandersluis][])
  • #9638: Fix an error for Layout/LineLength when over limit at right hand side of multiple assignment. ([@koic][])
  • #9639: Fix Style/RedundantBegin removing comments on assignment statement correction. ([@marcotc][])
  • #9671: Fix an incorrect auto-correct for Lint/AmbiguousOperator with Style/MethodCallWithArgsParentheses. ([@koic][])
  • #9645: Fix an incorrect auto-correct for Style/SingleLineMethods when using single line class method definition. ([@koic][])
  • #9644: Fix an error and an incorrect auto-correct for Style/MultilineMethodSignature when line break after opening parenthesis. ([@koic][])
  • #9672: Fix an incorrect auto-correct for Style/HashConversion when using multi-argument Hash[] as a method argument. ([@koic][])

1.12.0 (2021-03-24)

New features

... (truncated)

Commits
  • 76bc0a0 Cut 1.13
  • be91a13 Update Changelog
  • ad11b07 Tweak a changelog entry
  • cd3db12 Fix an incorrect auto-correct for Style/MethodCallWithArgsParentheses
  • bc6f98b Add --no-parallel command-line option (#9640)
  • fe934c2 [Fix #9636] Resolve symlinks when excluding directories
  • 9c36847 Fix an incorrect auto-correct for Style/HashConversion
  • c53803b [Fix #9689] Treat parens around array items the same for children and deeper ...
  • 6136239 Fix typos
  • bd27fcb [Fix #5576] Treat relativity of Include parameters correctly
  • 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) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Pull request limits (per update run and/or open at any time) - Automerge options (never/patch/minor, and dev/runtime dependencies) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired)
dependabot-preview[bot] commented 3 years ago

Superseded by #159.