Skip to content

build(deps): bump github.com/nunnatsa/ginkgolinter from 0.19.1 to 0.20.0 #5932

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

Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jul 10, 2025

Bumps github.com/nunnatsa/ginkgolinter from 0.19.1 to 0.20.0.

Release notes

Sourced from github.com/nunnatsa/ginkgolinter's releases.

v0.20.0

What's Changed

Added new linter rule.

New Linter Rule

Force assertion descriptions [STYLE] (#200)

Note: This rule does not support auto-fix.

Correct Usage of the Succeed() and the HaveOccurred() matchers [STYLE]

This rule enforces that all assertions include an optional description message to improve test readability and debugging.

It("should test something", func() {
    Expect("hello").To(Equal("hello")) // This will trigger a warning
    Eventually(func() bool { return true }).Should(BeTrue()) // This will trigger a warning
})

Should be:

It("should test something", func() {
    Expect("hello").To(Equal("hello"), "greeting should match")
    Eventually(func() bool { return true }).Should(BeTrue(), "condition should eventually be true")
})

This rule is disabled by default. Use the --force-assertion-description command line flag to enable it.

Note: This rule does not support auto-fix.

CLI Changes

Added the new --force-assertion-description=true command line parameter, to enable the "Force assertion descriptions" rule.

New Contributors

Full Changelog: nunnatsa/ginkgolinter@v0.19.1...v0.20.0

Commits
  • 5d2da6f small cleanup
  • d8a6070 Fix revive linter warning
  • f35ff22 bump golangci-lint to v2
  • 6bdec8a remove some old, unused files
  • ec3014a Add force-assertion-description rule
  • de1bcdb Change how test-cli is running
  • 789e9e9 Bump golang.org/x/tools to v0.34.0
  • 34a0e3c bump all the dependencies in testdata
  • 93b6b3d Bump golang.org/x/tools to v0.32.0
  • 66260e9 bump golang.org/x/tools to v0.31.0
  • See full diff 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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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 dependabot bot added dependencies Relates to an upstream dependency go Pull requests that update Go code labels Jul 10, 2025
@ldez ldez added the linter: update version Update version of linter label Jul 10, 2025
@ldez ldez self-requested a review July 10, 2025 16:45
@ldez ldez added the blocked: until next minor Will be a part of the next minor release label Jul 10, 2025
@bootuz

This comment was marked as off-topic.

@ldez ldez removed the blocked: until next minor Will be a part of the next minor release label Jul 12, 2025
@ldez ldez added this to the v2-unreleased milestone Jul 12, 2025
dependabot bot and others added 2 commits July 12, 2025 13:04
Bumps [github.com/nunnatsa/ginkgolinter](https://github.com/nunnatsa/ginkgolinter) from 0.19.1 to 0.20.0.
- [Release notes](https://github.com/nunnatsa/ginkgolinter/releases)
- [Commits](nunnatsa/ginkgolinter@v0.19.1...v0.20.0)

---
updated-dependencies:
- dependency-name: github.com/nunnatsa/ginkgolinter
  dependency-version: 0.20.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@ldez ldez force-pushed the dependabot/go_modules/github.com/nunnatsa/ginkgolinter-0.20.0 branch from 055e118 to fc25e31 Compare July 12, 2025 11:04
@ldez ldez merged commit f8010b0 into main Jul 12, 2025
18 checks passed
@ldez ldez deleted the dependabot/go_modules/github.com/nunnatsa/ginkgolinter-0.20.0 branch July 12, 2025 11:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Relates to an upstream dependency go Pull requests that update Go code linter: update version Update version of linter
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants