fix: disable structcheck for go >= 1.18 (#2994)
This commit is contained in:
parent
a91463cde4
commit
c39bf96129
@ -700,7 +700,8 @@ func (m Manager) GetAllSupportedLinterConfigs() []*linter.Config {
|
|||||||
WithSince("v1.0.0").
|
WithSince("v1.0.0").
|
||||||
WithLoadForGoAnalysis().
|
WithLoadForGoAnalysis().
|
||||||
WithPresets(linter.PresetUnused).
|
WithPresets(linter.PresetUnused).
|
||||||
WithURL("https://github.com/opennota/check"),
|
WithURL("https://github.com/opennota/check").
|
||||||
|
WithNoopFallback(m.cfg),
|
||||||
|
|
||||||
linter.NewConfig(golinters.NewStylecheck(stylecheckCfg)).
|
linter.NewConfig(golinters.NewStylecheck(stylecheckCfg)).
|
||||||
WithSince("v1.20.0").
|
WithSince("v1.20.0").
|
||||||
|
Loading…
x
Reference in New Issue
Block a user