Closed ryancurrah closed 1 year ago
Hey, thank you for opening your first Issue ! 🙂 If you would like to contribute we have a guide for contributors.
Created an issue on gocritic
linter https://github.com/go-critic/go-critic/issues/1297
Issue #2649 already handles bugs around generics. As an issue is open in the go-critic repo, we don't need to keep this one.
Sorry @ldez this issue was to add gocritic
to the list of linters that do not support generics. IE disabled by default for go 1.18
or greater.
we don't disable go-critic when only a few rules have a problem.
I see thank you for the input.
Welcome
Description of the problem
When linting code that contains generics with gocritic
rangeValCopy
check golangci-lint panics. I suggest we addgocritic
back to the disabled list of linters due to not fully working with generics.Version of golangci-lint
Configuration file
Go environment
Verbose output of running
Code example or link to a public repository