Open ptokarski opened 4 months ago
When using golangci-lint, you should use their configuration file to configure depguard. Here is an example pulled for your specific verison of golangci-lint. https://github.com/golangci/golangci-lint/blob/77a8601aa372eaab3ad2d7fa1dffa71f28005393/.golangci.reference.yml#L210
Please respond back after making these changes whether or not moving the configuration into golangci-lint's configuration works.
https://github.com/OpenPeeDeeP/depguard?tab=readme-ov-file#golangci-lint
main.go:
go.mod
go.sum
.golangci.yml
.depguard.yml
invocation:
I think I did everything as it is describe in the docs. Expected not to see an issue.