Skip to content

Commit

Permalink
fix: disable structcheck with go1.18 (#2666)
Browse files Browse the repository at this point in the history
  • Loading branch information
ldez authored Mar 20, 2022
1 parent cd37b5c commit f055441
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 @@ -576,7 +576,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 f055441

Please sign in to comment.