Skip to content

Commit f055441

Browse files
authored
fix: disable structcheck with go1.18 (#2666)
1 parent cd37b5c commit f055441

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pkg/lint/lintersdb/manager.go

+2-1
Original file line numberDiff line numberDiff line change
@@ -576,7 +576,8 @@ func (m Manager) GetAllSupportedLinterConfigs() []*linter.Config {
576576
WithSince("v1.0.0").
577577
WithLoadForGoAnalysis().
578578
WithPresets(linter.PresetUnused).
579-
WithURL("https://github.com/opennota/check"),
579+
WithURL("https://github.com/opennota/check").
580+
WithNoopFallback(m.cfg),
580581

581582
linter.NewConfig(golinters.NewStylecheck(stylecheckCfg)).
582583
WithSince("v1.20.0").

0 commit comments

Comments
 (0)