fix: disable structcheck with go1.18 (#2666)
This commit is contained in:
parent
cd37b5c31d
commit
f055441536
@ -576,7 +576,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