Open sheepla opened 2 years ago
some rules in go-critic (
hugeParam
,rangeValCopy
,typeDefFirst
,paramTypeCombine
) don't work with generics and must be disabled by hand if you are not using generics (and your dependencies) you can use the following configuration:
run:
go: '1.17'
This code in this repository hasn't used generics yet, so it doesn't seem to matter if it stays at v1.17
.
I'm developing on Go
v1.18
butgolangci-lint
is settings are set to a different version. So I want to fix.v1.18
v1.17
10 Thank you for notice me, johnmanjiro13!