Skip to content

Commit

Permalink
build(deps): bump github.com/nunnatsa/ginkgolinter from 0.18.3 to 0.1…
Browse files Browse the repository at this point in the history
…8.4 (#5217)

Co-authored-by: Fernandez Ludovic <[email protected]>
  • Loading branch information
dependabot[bot] and ldez authored Dec 11, 2024
1 parent 9f2d061 commit a1d0762
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ require (
github.com/nakabonne/nestif v0.3.1
github.com/nishanths/exhaustive v0.12.0
github.com/nishanths/predeclared v0.2.2
github.com/nunnatsa/ginkgolinter v0.18.3
github.com/nunnatsa/ginkgolinter v0.18.4
github.com/pelletier/go-toml/v2 v2.2.3
github.com/polyfloyd/go-errorlint v1.7.0
github.com/quasilyte/go-ruleguard/dsl v0.3.22
Expand Down
4 changes: 2 additions & 2 deletions go.sum

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

24 changes: 12 additions & 12 deletions pkg/golinters/ginkgolinter/ginkgolinter.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,18 @@ func New(settings *config.GinkgoLinterSettings) *goanalysis.Linter {

if settings != nil {
cfg = &types.Config{
SuppressLen: types.Boolean(settings.SuppressLenAssertion),
SuppressNil: types.Boolean(settings.SuppressNilAssertion),
SuppressErr: types.Boolean(settings.SuppressErrAssertion),
SuppressCompare: types.Boolean(settings.SuppressCompareAssertion),
SuppressAsync: types.Boolean(settings.SuppressAsyncAssertion),
ForbidFocus: types.Boolean(settings.ForbidFocusContainer),
SuppressTypeCompare: types.Boolean(settings.SuppressTypeCompareWarning),
AllowHaveLen0: types.Boolean(settings.AllowHaveLenZero),
ForceExpectTo: types.Boolean(settings.ForceExpectTo),
ValidateAsyncIntervals: types.Boolean(settings.ValidateAsyncIntervals),
ForbidSpecPollution: types.Boolean(settings.ForbidSpecPollution),
ForceSucceedForFuncs: types.Boolean(settings.ForceSucceedForFuncs),
SuppressLen: settings.SuppressLenAssertion,
SuppressNil: settings.SuppressNilAssertion,
SuppressErr: settings.SuppressErrAssertion,
SuppressCompare: settings.SuppressCompareAssertion,
SuppressAsync: settings.SuppressAsyncAssertion,
ForbidFocus: settings.ForbidFocusContainer,
SuppressTypeCompare: settings.SuppressTypeCompareWarning,
AllowHaveLen0: settings.AllowHaveLenZero,
ForceExpectTo: settings.ForceExpectTo,
ValidateAsyncIntervals: settings.ValidateAsyncIntervals,
ForbidSpecPollution: settings.ForbidSpecPollution,
ForceSucceedForFuncs: settings.ForceSucceedForFuncs,
}
}

Expand Down

0 comments on commit a1d0762

Please sign in to comment.