Skip to content

Commit

Permalink
fix: disable structcheck for go >= 1.18 (#2994)
Browse files Browse the repository at this point in the history
  • Loading branch information
ldez authored Jul 19, 2022
1 parent a91463c commit c39bf96
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/lint/lintersdb/manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -700,7 +700,8 @@ func (m Manager) GetAllSupportedLinterConfigs() []*linter.Config {
WithSince("v1.0.0").
WithLoadForGoAnalysis().
WithPresets(linter.PresetUnused).
WithURL("https://github.com/opennota/check"),
WithURL("https://github.com/opennota/check").
WithNoopFallback(m.cfg),

linter.NewConfig(golinters.NewStylecheck(stylecheckCfg)).
WithSince("v1.20.0").
Expand Down

0 comments on commit c39bf96

Please sign in to comment.