Skip to content

Commit c39bf96

Browse files
authored
fix: disable structcheck for go >= 1.18 (#2994)
1 parent a91463c commit c39bf96

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
@@ -700,7 +700,8 @@ func (m Manager) GetAllSupportedLinterConfigs() []*linter.Config {
700700
WithSince("v1.0.0").
701701
WithLoadForGoAnalysis().
702702
WithPresets(linter.PresetUnused).
703-
WithURL("https://github.com/opennota/check"),
703+
WithURL("https://github.com/opennota/check").
704+
WithNoopFallback(m.cfg),
704705

705706
linter.NewConfig(golinters.NewStylecheck(stylecheckCfg)).
706707
WithSince("v1.20.0").

0 commit comments

Comments
 (0)