Closed Integralist closed 1 year ago
Hello,
- [X] Yes, I've tried with the standalone linter if available (e.g., gocritic, go vet, etc.). (https://golangci-lint.run/usage/linters/)
It's a gosec issue: https://github.com/securego/gosec/issues/1046
The problem has been fixed by gosec, and the update has been done inside golangci-lint https://github.com/golangci/golangci-lint/pull/4153
The fix will be available in the next release of golangci-lint.
Thanks @ldez
Apologies for opening this issue unnecessarily. I had run gosec
locally and it didn't report any issue but clearly I must have not run it properly 🤦🏻
Welcome
Description of the problem
Using
1.54.2
the following line of code is ignored, but with1.55.0
it is not...Version of golangci-lint
Configuration
Go environment
Verbose output of running
A minimal reproducible example or link to a public repository
Validation