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.3.0 #134

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.3

New features

Bug fixes

  • #8499: Fix Style/IfUnlessModifier and Style/WhileUntilModifier to prevent an offense if there are both first-line comment and code after end block. (@dsavochkin)
  • #8996: Fix a false positive for Style/MultipleComparison when comparing two sides of the disjunction is unrelated. (@koic)
  • #8975: Fix an infinite loop when autocorrecting Layout/TrailingWhitespace + Lint/LiteralInInterpolation. (@fatkodima)
  • #8998: Fix an error for Style/NegatedIfElseCondition when using negated condition and if branch body is empty. (@koic)
  • #9008: Mark Style/InfiniteLoop as unsafe. (@marcandre)

Changes

  • #8978: Update Layout/LineLength autocorrection to be able to handle method calls with long argument lists. (@dvandersluis)
  • #9015: Update Lint/EmptyBlock to allow for empty lambdas. (@dvandersluis)
  • #9022: Add NOTE to keywords of Style/CommentAnnotation. (@koic)
  • #9011: Mark autocorrection for Lint/Loop as unsafe. (@dvandersluis)
  • #9026: Update Style/DocumentDynamicEvalDefinition to detect comment blocks that document the evaluation. (@dvandersluis)
  • #9004: Remove obsolete gem SafeYAML compatibility. (@marcandre)
  • #9023: Mark unsafe for Style/CollectionCompact. (@koic)
  • #9012: Allow AllowedIdentifiers to be specified for Naming/VariableNumber. (@dvandersluis)
Changelog

Sourced from rubocop's changelog.

1.3.0 (2020-11-12)

New features

Bug fixes

  • #8499: Fix Style/IfUnlessModifier and Style/WhileUntilModifier to prevent an offense if there are both first-line comment and code after end block. ([@dsavochkin][])
  • #8996: Fix a false positive for Style/MultipleComparison when comparing two sides of the disjunction is unrelated. ([@koic][])
  • #8975: Fix an infinite loop when autocorrecting Layout/TrailingWhitespace + Lint/LiteralInInterpolation. ([@fatkodima][])
  • #8998: Fix an error for Style/NegatedIfElseCondition when using negated condition and if branch body is empty. ([@koic][])
  • #9008: Mark Style/InfiniteLoop as unsafe. ([@marcandre][])

Changes

  • #8978: Update Layout/LineLength autocorrection to be able to handle method calls with long argument lists. ([@dvandersluis][])
  • #9015: Update Lint/EmptyBlock to allow for empty lambdas. ([@dvandersluis][])
  • #9022: Add NOTE to keywords of Style/CommentAnnotation. ([@koic][])
  • #9011: Mark autocorrection for Lint/Loop as unsafe. ([@dvandersluis][])
  • #9026: Update Style/DocumentDynamicEvalDefinition to detect comment blocks that document the evaluation. ([@dvandersluis][])
  • #9004: Remove obsolete gem SafeYAML compatibility. ([@marcandre][])
  • #9023: Mark unsafe for Style/CollectionCompact. ([@koic][])
  • #9012: Allow AllowedIdentifiers to be specified for Naming/VariableNumber. ([@dvandersluis][])

1.2.0 (2020-11-05)

New features

  • #8983: Support auto-correction for Naming/HeredocDelimiterCase. ([@koic][])
  • #8004: Add new GitHubActionsFormatter formatter. ([@lautis][])
  • #8175: Add new AllowedCompactTypes option for Style/RaiseArgs. ([@pdobb][])
  • #8566: Add new Style/CollectionCompact cop. ([@fatkodima][])
  • #8925: Add --display-time option for displaying elapsed time of rubocop command. ([@joshuapinter][])
  • #8967: Add new Style/NegatedIfElseCondition cop. ([@fatkodima][])
  • #8984: Support auto-correction for Style/DoubleNegation. ([@koic][])
  • #8992: Support auto-correction for Lint/ElseLayout. ([@koic][])
  • #8988: Support auto-correction for Lint/UselessSetterCall. ([@koic][])
  • #8982: Support auto-correction for Naming/BinaryOperatorParameterName. ([@koic][])

Bug fixes

  • #8989: Fix multibyte support in the regexp node handler that led Style/RedundantRegexpEscape to malfunction and corrupt a program in auto-correction. ([@knu][])
  • #8912: Fix Layout/ElseAlignment for rescue/else/ensure inside do/end blocks with assignment. ([@miry][])
Commits
  • 922d7af Cut 1.3
  • 195656b Update Changelog
  • 131e4c3 Only report offenses as correctable if Layout/LineLength actually can corre...
  • b322bc7 [Fix #8978] Update Layout/LineLength autocorrection to be able to handle me...
  • 1959d31 [Fix #9026] Update Style/DocumentDynamicEvalDefinition to detect comment bl...
  • d6ec7a7 Fix formatting in CONTRIBUTING.md.
  • e299edd [Fix #9011] Mark autocorrection for Lint/Loop as unsafe.
  • a7a7eef Add new Style/NilLambda cop to check for lambdas that always return nil.
  • 406243e [Fix #9025] Add AllowedMethods to Lint/ConstantDefinitionInBlock
  • 28649d7 [Fix #9015] Update Lint/EmptyBlock to allow for empty lambdas.
  • 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 #135.