@@ -14,18 +14,18 @@ func New(settings *config.GinkgoLinterSettings) *goanalysis.Linter {
1414
1515 if settings != nil {
1616 cfg = & types.Config {
17- SuppressLen : types . Boolean ( settings .SuppressLenAssertion ) ,
18- SuppressNil : types . Boolean ( settings .SuppressNilAssertion ) ,
19- SuppressErr : types . Boolean ( settings .SuppressErrAssertion ) ,
20- SuppressCompare : types . Boolean ( settings .SuppressCompareAssertion ) ,
21- SuppressAsync : types . Boolean ( settings .SuppressAsyncAssertion ) ,
22- ForbidFocus : types . Boolean ( settings .ForbidFocusContainer ) ,
23- SuppressTypeCompare : types . Boolean ( settings .SuppressTypeCompareWarning ) ,
24- AllowHaveLen0 : types . Boolean ( settings .AllowHaveLenZero ) ,
25- ForceExpectTo : types . Boolean ( settings .ForceExpectTo ) ,
26- ValidateAsyncIntervals : types . Boolean ( settings .ValidateAsyncIntervals ) ,
27- ForbidSpecPollution : types . Boolean ( settings .ForbidSpecPollution ) ,
28- ForceSucceedForFuncs : types . Boolean ( settings .ForceSucceedForFuncs ) ,
17+ SuppressLen : settings .SuppressLenAssertion ,
18+ SuppressNil : settings .SuppressNilAssertion ,
19+ SuppressErr : settings .SuppressErrAssertion ,
20+ SuppressCompare : settings .SuppressCompareAssertion ,
21+ SuppressAsync : settings .SuppressAsyncAssertion ,
22+ ForbidFocus : settings .ForbidFocusContainer ,
23+ SuppressTypeCompare : settings .SuppressTypeCompareWarning ,
24+ AllowHaveLen0 : settings .AllowHaveLenZero ,
25+ ForceExpectTo : settings .ForceExpectTo ,
26+ ValidateAsyncIntervals : settings .ValidateAsyncIntervals ,
27+ ForbidSpecPollution : settings .ForbidSpecPollution ,
28+ ForceSucceedForFuncs : settings .ForceSucceedForFuncs ,
2929 }
3030 }
3131
0 commit comments