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

Add "null conditional operator" ?. #215

Closed
JamesFaix opened this issue Jul 16, 2016 · 4 comments
Closed

Add "null conditional operator" ?. #215

JamesFaix opened this issue Jul 16, 2016 · 4 comments

Comments

@JamesFaix
Copy link

JamesFaix commented Jul 16, 2016

C# 6 and VB 14 have a new operator called the "null conditional operator", represented as ?. or ?[. https://msdn.microsoft.com/en-us/library/dn986595.aspx

The ?. version is used when trying to dereference a member of an object that may be null. For example,
var name = someObject?.Name;
assigns to the variable name either the name of someObject, or null if someObject is null.

The ?[ version is used when trying to access an array element of an array that may be null. For example,
var item = someArray?[3];
assigns to the variable item either the item at index in someArray, or null if someArray is null.

I would really love a ligature for ?.. I think the period should ideally be spaced the same as the bottom of the 2nd question mark in the ?? ligature.

A ligature for ?[ should probably be added for symmetry.

@krux02
Copy link

krux02 commented Jul 18, 2016

I would say yes to ?. but no to ?[. I just don't see what a ligature can improve on the appearance. But also concider, this operator is implemneted differently in different programming languages:

Ruby: &.
Perl6: .?

https://en.wikipedia.org/wiki/Safe_navigation_operator

@JamesFaix
Copy link
Author

@krux02 I agree that ?[ would not be improved much by ligaturization. I also did not know how widely such an operator was available, thanks for the link. "Safe navigation" is a way better name than "null conditional" also. Microsoft naming..ugh.

@kosiakk
Copy link

kosiakk commented Sep 7, 2016

Certainly, dots in Elvis operator ?: and in Pirate Elvis operator ?. should all be of the same size. Currently they aren't, so my Kotlin code looks less perfect.

@kosiakk
Copy link

kosiakk commented Sep 7, 2016

The first line is the current version, 1.201 rendered in Idea.
image

The second line is my suggestion:

  1. Original version: dots are different and not aligned
  2. Two dots under ?. are copied directly from .. ligature, including the spacing.
    Semicolon dots are made bigger (ugly)
  3. Minimal change - just the spacing is adjusted. All glyphs are original.
    Smaller dot highlights the secondary role of ? in this ligature.
  4. All dots are taken from the question mark and are too small.
  5. I guess, the best would be take the dot from : glyph - its size fits perfectly in between.
    Cons: the importance of . is lost a bit, and it might look misaligned in the long().chainOf()?.calls()

@tonsky tonsky closed this as completed in 019953d Nov 5, 2016
Losangelosgenetics pushed a commit to Losangelosgenetics/FiraCode that referenced this issue Mar 12, 2020
199: Update rack-test requirement from ~> 0.6 to ~> 1.1 r=bronzdoc a=dependabot[bot]

Updates the requirements on [rack-test](https://github.com/rack-test/rack-test) to permit the latest version.
<details>
<summary>Release notes</summary>

*Sourced from [rack-test's releases](https://github.com/rack-test/rack-test/releases).*

> ## v1.1.0
> ## 1.1.0 / 2018-07-21
> 
> * Breaking changes:
>   * None
> 
> * Minor enhancements / new functionality:
>   * [GitHub] Added configuration for Stale (Per Lundberg [tonsky#232](https://github-redirect.dependabot.com/rack-test/rack-test/issues/232))
>   * `follow_direct`: Include `rack.session.options` (Mark Edmondson [tonsky#233](https://github-redirect.dependabot.com/rack-test/rack-test/issues/233))
>   * [CI] Add simplecov (fatkodima [tonsky#227](https://github-redirect.dependabot.com/rack-test/rack-test/issues/227))
> 
> Bug fixes:
>   * Follow relative locations correctly. (Samuel Williams [tonsky#230](https://github-redirect.dependabot.com/rack-test/rack-test/issues/230))
</details>
<details>
<summary>Changelog</summary>

*Sourced from [rack-test's changelog](https://github.com/rack-test/rack-test/blob/master/History.md).*

> ## 1.1.0 / 2018-07-21
> 
> * Breaking changes:
>   * None
> 
> * Minor enhancements / new functionality:
>   * [GitHub] Added configuration for Stale (Per Lundberg [tonsky#232](https://github-redirect.dependabot.com/rack-test/rack-test/issues/232))
>   * follow_direct: Include rack.session.options (Mark Edmondson [tonsky#233](https://github-redirect.dependabot.com/rack-test/rack-test/issues/233))
>   * [CI] Add simplecov (fatkodima [tonsky#227](https://github-redirect.dependabot.com/rack-test/rack-test/issues/227))
> 
> Bug fixes:
>   * Follow relative locations correctly. (Samuel Williams [tonsky#230](https://github-redirect.dependabot.com/rack-test/rack-test/issues/230))
> 
> ## 1.0.0 / 2018-03-27
> 
> * Breaking changes:
>   * Always set CONTENT_TYPE for non-GET requests
>     (Per Lundberg [tonsky#223](https://github-redirect.dependabot.com/rack-test/rack-test/issues/223))
> 
> * Minor enhancements / bug fixes:
>   * Create tempfile using the basename without extension
>     (Edouard Chin [tonsky#201](https://github-redirect.dependabot.com/rack-test/rack-test/issues/201))
>   * Save `session` during `follow_redirect!`
>     (Alexander Popov [tonsky#218](https://github-redirect.dependabot.com/rack-test/rack-test/issues/218))
>   * Document how to use URL params with DELETE method
>     (Timur Platonov [tonsky#220](https://github-redirect.dependabot.com/rack-test/rack-test/issues/220))
> 
> ## 0.8.3 / 2018-02-27
> 
> * Bug fixes:
>   * Do not set Content-Type if params are explicitly set to nil
>     (Bartek Bułat [tonsky#212](https://github-redirect.dependabot.com/rack-test/rack-test/issues/212)). Fixes [tonsky#200](https://github-redirect.dependabot.com/rack-test/rack-test/issues/200).
>   * Fix `UploadedFile#new` regression
>     (Per Lundberg [tonsky#215](https://github-redirect.dependabot.com/rack-test/rack-test/issues/215))
> 
> * Minor enhancements
>   * [CI] Test against Ruby 2.5 (Nicolas Leger [tonsky#217](https://github-redirect.dependabot.com/rack-test/rack-test/issues/217))
> 
> ## 0.8.2 / 2017-11-21
> 
> * Bug fixes:
>   * Bugfix for `UploadedFile.new` unintended API breakage.
>     (Per Lundberg [tonsky#210](https://github-redirect.dependabot.com/rack-test/rack-test/issues/210))
> 
> ## 0.8.0 / 2017-11-20
> 
> * Known Issue
>   * In `UploadedFile.new`, when passing e.g. a `Pathname` object,
>     errors can be raised (eg. `ArgumentError: Missing original_filename
>     for IO`, or `NoMethodError: undefined method 'size'`) See [tonsky#207](https://github-redirect.dependabot.com/rack-test/rack-test/issues/207), [tonsky#209](https://github-redirect.dependabot.com/rack-test/rack-test/issues/209).
></table> ... (truncated)
</details>
<details>
<summary>Commits</summary>

- See full diff in [compare view](https://github.com/rack-test/rack-test/commits/v1.1.0)
</details>
<br />

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

---

**Note:** This repo was added to Dependabot recently, so you'll receive a maximum of 5 PRs for your first few update runs. Once an update run creates fewer than 5 PRs we'll remove that limit.

You can always request more updates by clicking `Bump now` in your [Dependabot dashboard](https://app.dependabot.com).

<details>
<summary>Dependabot commands and options</summary>
<br />

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 cancel merge` will cancel a previously requested merge
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot ignore this [patch|minor|major] version` will close this PR and stop Dependabot creating any more for this minor/major 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)
- Automerge options (never/patch/minor, and dev/runtime dependencies)
- Pull request limits (per update run and/or open at any time)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)

Finally, you can contact us by mentioning @dependabot.

</details>

Co-authored-by: dependabot[bot] <support@dependabot.com>
Losangelosgenetics pushed a commit to Losangelosgenetics/FiraCode that referenced this issue Mar 12, 2020
215: Update rubocop requirement from = 0.62.0 to = 0.63.0 r=olleolleolle a=dependabot[bot]

Updates the requirements on [rubocop](https://github.com/rubocop-hq/rubocop) to permit the latest version.
<details>
<summary>Release notes</summary>

*Sourced from [rubocop's releases](https://github.com/rubocop-hq/rubocop/releases).*

> ## RuboCop 0.63
> ### New features
> 
> * [#6604](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6604): Add auto-correct support to `Rails/LinkToBlank`. ([[**Intrepidd**](https://github.com/Intrepidd)][])
> * [#6660](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6660): Add new `Rails/IgnoredSkipActionFilterOption` cop. ([[**wata727**](https://github.com/wata727)][])
> * [#6363](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6363): Allow `Style/YodaCondition` cop to be configured to enforce yoda conditions. ([[**tejasbubane**](https://github.com/tejasbubane)][])
> * [#6150](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6150): Add support to enforce disabled cops to be executed. ([[**roooodcastro**](https://github.com/roooodcastro)][])
> * [#6596](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6596): Add new `Rails/BelongsTo` cop with auto-correct for Rails >= 5. ([[**petehamilton**](https://github.com/petehamilton)][])
> 
> ### Bug fixes
> 
> * [#6627](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6627): Fix handling of hashes in trailing comma. ([[**abrom**](https://github.com/abrom)][])
> * [#6623](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6623): Fix heredoc detection in trailing comma. ([[**palkan**](https://github.com/palkan)][])
> * [#6100](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6100): Fix a false positive in `Naming/ConstantName` cop when rhs is a conditional expression. ([[**tatsuyafw**](https://github.com/tatsuyafw)][])
> * [#6526](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6526): Fix a wrong line highlight in `Lint/ShadowedException` cop. ([[**tatsuyafw**](https://github.com/tatsuyafw)][])
> * [#6617](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6617): Prevent traversal error on infinite ranges. ([[**drenmi**](https://github.com/drenmi)][])
> * [#6625](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6625): Revert the "auto-exclusion of files ignored by git" feature. ([[**bbatsov**](https://github.com/bbatsov)][])
> * [#4460](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/4460): Fix the determination of unsafe auto-correct in `Style/TernaryParentheses`. ([[**jonas054**](https://github.com/jonas054)][])
> * [#6651](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6651): Fix auto-correct issue in `Style/RegexpLiteral` cop when there is string interpolation. ([[**roooodcastro**](https://github.com/roooodcastro)][])
> * [#6670](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6670): Fix a false positive for `Style/SafeNavigation` when a method call safeguarded with a negative check for the object. ([[**koic**](https://github.com/koic)][])
> * [#6633](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6633): Fix `Lint/SafeNavigation` complaining about use of `to_d`. ([[**tejasbubane**](https://github.com/tejasbubane)][])
> * [#6575](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6575): Fix `Naming/PredicateName` suggesting invalid rename. ([[**tejasbubane**](https://github.com/tejasbubane)][])
> * [#6673](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6673): Fix `Style/DocumentationMethod` cop to recognize documentation comments for `def` inline with `module_function`. ([[**tejasbubane**](https://github.com/tejasbubane)][])
> 
> ### Changes
> 
> * [#6607](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6607): Improve CLI usage message for --stdin option. ([[**jaredbeck**](https://github.com/jaredbeck)][])
> * [#6641](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6641): Specify `Performance/RangeInclude` as unsafe because `Range#include?` and `Range#cover?` are not equivalent. ([[**koic**](https://github.com/koic)][])
> * [#6636](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6636): Move `FlipFlop` cop from `Style` to `Lint` department because flip-flop is deprecated since Ruby 2.6.0. ([[**koic**](https://github.com/koic)][])
> * [#6661](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6661): Abandon making frozen string literals default for Ruby 3.0. ([[**koic**](https://github.com/koic)][])
> 
> [[**Intrepidd**](https://github.com/Intrepidd)]: https://github.com/Intrepidd
> [[**wata727**](https://github.com/wata727)]: https://github.com/wata727
> [[**tejasbubane**](https://github.com/tejasbubane)]: https://github.com/tejasbubane
> [[**roooodcastro**](https://github.com/roooodcastro)]: https://github.com/roooodcastro
> [[**petehamilton**](https://github.com/petehamilton)]: https://github.com/petehamilton
> [[**abrom**](https://github.com/abrom)]: https://github.com/abrom
> [[**palkan**](https://github.com/palkan)]: https://github.com/palkan
> [[**tatsuyafw**](https://github.com/tatsuyafw)]: https://github.com/tatsuyafw
> [[**drenmi**](https://github.com/drenmi)]: https://github.com/drenmi
> [[**bbatsov**](https://github.com/bbatsov)]: https://github.com/bbatsov
> [[**jonas054**](https://github.com/jonas054)]: https://github.com/jonas054
> [[**koic**](https://github.com/koic)]: https://github.com/koic
> [[**jaredbeck**](https://github.com/jaredbeck)]: https://github.com/jaredbeck
</details>
<details>
<summary>Changelog</summary>

*Sourced from [rubocop's changelog](https://github.com/rubocop-hq/rubocop/blob/master/CHANGELOG.md).*

> ## 0.63.0 (2019-01-16)
> 
> ### New features
> 
> * [#6604](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6604): Add auto-correct support to `Rails/LinkToBlank`. ([[**Intrepidd**](https://github.com/Intrepidd)][])
> * [#6660](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6660): Add new `Rails/IgnoredSkipActionFilterOption` cop. ([[**wata727**](https://github.com/wata727)][])
> * [#6363](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6363): Allow `Style/YodaCondition` cop to be configured to enforce yoda conditions. ([[**tejasbubane**](https://github.com/tejasbubane)][])
> * [#6150](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6150): Add support to enforce disabled cops to be executed. ([[**roooodcastro**](https://github.com/roooodcastro)][])
> * [#6596](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6596): Add new `Rails/BelongsTo` cop with auto-correct for Rails >= 5. ([[**petehamilton**](https://github.com/petehamilton)][])
> 
> ### Bug fixes
> 
> * [#6627](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6627): Fix handling of hashes in trailing comma. ([[**abrom**](https://github.com/abrom)][])
> * [#6623](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6623): Fix heredoc detection in trailing comma. ([[**palkan**](https://github.com/palkan)][])
> * [#6100](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6100): Fix a false positive in `Naming/ConstantName` cop when rhs is a conditional expression. ([[**tatsuyafw**](https://github.com/tatsuyafw)][])
> * [#6526](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6526): Fix a wrong line highlight in `Lint/ShadowedException` cop. ([[**tatsuyafw**](https://github.com/tatsuyafw)][])
> * [#6617](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6617): Prevent traversal error on infinite ranges. ([[**drenmi**](https://github.com/drenmi)][])
> * [#6625](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6625): Revert the "auto-exclusion of files ignored by git" feature. ([[**bbatsov**](https://github.com/bbatsov)][])
> * [#4460](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/4460): Fix the determination of unsafe auto-correct in `Style/TernaryParentheses`. ([[**jonas054**](https://github.com/jonas054)][])
> * [#6651](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6651): Fix auto-correct issue in `Style/RegexpLiteral` cop when there is string interpolation. ([[**roooodcastro**](https://github.com/roooodcastro)][])
> * [#6670](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6670): Fix a false positive for `Style/SafeNavigation` when a method call safeguarded with a negative check for the object. ([[**koic**](https://github.com/koic)][])
> * [#6633](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6633): Fix `Lint/SafeNavigation` complaining about use of `to_d`. ([[**tejasbubane**](https://github.com/tejasbubane)][])
> * [#6575](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6575): Fix `Naming/PredicateName` suggesting invalid rename. ([[**tejasbubane**](https://github.com/tejasbubane)][])
> * [#6673](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6673): Fix `Style/DocumentationMethod` cop to recognize documentation comments for `def` inline with `module_function`. ([[**tejasbubane**](https://github.com/tejasbubane)][])
> 
> ### Changes
> 
> * [#6607](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6607): Improve CLI usage message for --stdin option. ([[**jaredbeck**](https://github.com/jaredbeck)][])
> * [#6641](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6641): Specify `Performance/RangeInclude` as unsafe because `Range#include?` and `Range#cover?` are not equivalent. ([[**koic**](https://github.com/koic)][])
> * [#6636](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6636): Move `FlipFlop` cop from `Style` to `Lint` department because flip-flop is deprecated since Ruby 2.6.0. ([[**koic**](https://github.com/koic)][])
> * [#6661](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6661): Abandon making frozen string literals default for Ruby 3.0. ([[**koic**](https://github.com/koic)][])
> 
> ## 0.62.0 (2019-01-01)
> 
> ### New features
> 
> * [#6580](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6580): New cop `Rails/LinkToBlank` checks for `link_to` calls with `target: '_blank'` and no `rel: 'noopener'`. ([[**Intrepidd**](https://github.com/Intrepidd)][])
> * [#6586](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6586): New cop `Style/DisjunctiveAssignmentInConstructor` checks constructors for disjunctive assignments that should be plain assignments. ([[**jaredbeck**](https://github.com/jaredbeck)][])
> 
> ### Bug fixes
> 
> * [#6560](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6560): Consider file count, not offense count, for `--exclude-limit` in combination with `--auto-gen-only-exclude`. ([[**jonas054**](https://github.com/jonas054)][])
> * [#4229](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/4229): Fix unexpected Style/HashSyntax consistency offence. ([[**timon**](https://github.com/timon)][])
> * [#6500](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6500): Add offense to use `in_time_zone` instead of deprecated `to_time_in_current_zone`. ([[**nadiyaka**](https://github.com/nadiyaka)][])
> * [#6577](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6577): Prevent Rails/Blank cop from adding offense when define the blank method. ([[**jonatas**](https://github.com/jonatas)][])
> * [#6554](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6554): Prevent Layout/RescueEnsureAlignment cop from breaking on block assignment when assignment is on a separate line. ([[**timmcanty**](https://github.com/timmcanty)][])
> * [#6343](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6343): Optimise `--auto-gen-config` when `Metrics/LineLength` cop is disabled. ([[**tom-lord**](https://github.com/tom-lord)][])
> * [#6389](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6389): Fix false negative for `Style/TrailingCommaInHashLiteral`/`Style/TrailingCommaInArrayLiteral` when there is a comment in the last line. ([[**bayandin**](https://github.com/bayandin)][])
> * [#6566](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6566): Fix false positive for `Layout/EmptyLinesAroundAccessModifier` when at the end of specifying a superclass is missing blank line. ([[**koic**](https://github.com/koic)][])
> * [#6571](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6571): Fix a false positive for `Layout/TrailingCommaInArguments` when a line break before a method call and `EnforcedStyleForMultiline` is set to `consistent_comma`. ([[**koic**](https://github.com/koic)][])
></tr></table> ... (truncated)
</details>
<details>
<summary>Commits</summary>

- See full diff in [compare view](https://github.com/rubocop-hq/rubocop/commits/v0.63.0)
</details>
<br />

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-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

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 cancel merge` will cancel a previously requested merge
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot ignore this [patch|minor|major] version` will close this PR and stop Dependabot creating any more for this minor/major 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)
- Automerge options (never/patch/minor, and dev/runtime dependencies)
- Pull request limits (per update run and/or open at any time)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)

Finally, you can contact us by mentioning @dependabot.

</details>

Co-authored-by: dependabot[bot] <support@dependabot.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants