Skip to content

Commit b4b5adf

Browse files
ldezSeigeC
authored andcommitted
fix: disable structcheck for go >= 1.18 (golangci#2994)
1 parent 4db23d4 commit b4b5adf

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pkg/lint/lintersdb/manager.go

Lines changed: 2 additions & 1 deletion
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)