Skip to content

Commit 269e82a

Browse files
dependabot[bot]ldez
authored andcommitted
build(deps): bump github.com/nunnatsa/ginkgolinter from 0.12.2 to 0.13.0 (#3962)
Co-authored-by: Fernandez Ludovic <[email protected]>
1 parent 75cd4ce commit 269e82a

File tree

5 files changed

+9
-3
lines changed

5 files changed

+9
-3
lines changed

.golangci.reference.yml

+4
Original file line numberDiff line numberDiff line change
@@ -449,6 +449,10 @@ linters-settings:
449449
# Default: false
450450
suppress-async-assertion: true
451451

452+
# Suppress warning for ginkgo focus containers like FDescribe, FContext, FWhen or FIt
453+
# Default: false
454+
suppress-focus-container: true
455+
452456
# Don't trigger warnings for HaveLen(0)
453457
# Default: false
454458
allow-havelen-zero: true

go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ require (
7777
github.com/nakabonne/nestif v0.3.1
7878
github.com/nishanths/exhaustive v0.11.0
7979
github.com/nishanths/predeclared v0.2.2
80-
github.com/nunnatsa/ginkgolinter v0.12.2
80+
github.com/nunnatsa/ginkgolinter v0.13.0
8181
github.com/polyfloyd/go-errorlint v1.4.3
8282
github.com/quasilyte/go-ruleguard/dsl v0.3.22
8383
github.com/ryancurrah/gomodguard v1.3.0

go.sum

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkg/config/linters_settings.go

+1
Original file line numberDiff line numberDiff line change
@@ -396,6 +396,7 @@ type GinkgoLinterSettings struct {
396396
SuppressErrAssertion bool `mapstructure:"suppress-err-assertion"`
397397
SuppressCompareAssertion bool `mapstructure:"suppress-compare-assertion"`
398398
SuppressAsyncAssertion bool `mapstructure:"suppress-async-assertion"`
399+
SuppressFocusContainer bool `mapstructure:"suppress-focus-container"`
399400
AllowHaveLenZero bool `mapstructure:"allow-havelen-zero"`
400401
}
401402

pkg/golinters/ginkgolinter.go

+1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ func NewGinkgoLinter(cfg *config.GinkgoLinterSettings) *goanalysis.Linter {
1919
"suppress-err-assertion": cfg.SuppressErrAssertion,
2020
"suppress-compare-assertion": cfg.SuppressCompareAssertion,
2121
"suppress-async-assertion": cfg.SuppressAsyncAssertion,
22+
"suppress-focus-container": cfg.SuppressFocusContainer,
2223
"allow-havelen-0": cfg.AllowHaveLenZero,
2324
}
2425
}

0 commit comments

Comments
 (0)