Replies: 1 comment 4 replies
-
Hello, the default configuration of depguard has changed: you have to provide a configuration or disable the linter. depguard:
rules:
main:
deny:
- pkg: "github.com/instana/testify"
desc: not allowed
- pkg: "github.com/pkg/errors"
desc: Should be replaced by standard lib errors package Also:
|
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
1.45.2 to Latest 1.53
this was the error that made me want to upgrade the golang=lint to try and solve it:
panic: load embedded ruleguard rules: rules/rules.go:13: can't load fmt
After I updated my golang-lint version I started getting a bunch of false positives.
I had to update because my team needed the new go version for a telemetry package to debug an issue.
Is there a better workaround then updating my lint? ( I would like to solve the rules/rules error from before instead of updating )
Errors that I did not have before, some of the unused errors by the way are wrong I'm using the variable.
Beta Was this translation helpful? Give feedback.
All reactions