Skip to content

Commit adf8e85

Browse files
committed
chore: update implementation
1 parent 52c5df5 commit adf8e85

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

pkg/config/linters_settings.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -488,6 +488,7 @@ type GinkgoLinterSettings struct {
488488
ForceExpectTo bool `mapstructure:"force-expect-to"`
489489
ValidateAsyncIntervals bool `mapstructure:"validate-async-intervals"`
490490
ForbidSpecPollution bool `mapstructure:"forbid-spec-pollution"`
491+
ForceSucceedForFuncs bool `mapstructure:"force-succeed"`
491492
}
492493

493494
type GoChecksumTypeSettings struct {

pkg/golinters/ginkgolinter/ginkgolinter.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ func New(settings *config.GinkgoLinterSettings) *goanalysis.Linter {
2525
ForceExpectTo: types.Boolean(settings.ForceExpectTo),
2626
ValidateAsyncIntervals: types.Boolean(settings.ValidateAsyncIntervals),
2727
ForbidSpecPollution: types.Boolean(settings.ForbidSpecPollution),
28+
ForceSucceedForFuncs: types.Boolean(settings.ForceSucceedForFuncs),
2829
}
2930
}
3031

0 commit comments

Comments
 (0)