Closed dixonwille closed 10 months ago
Currently it seems with golangci-lint
1.53+ that an empty allow
(e.g. no depguard
config) means that nothing is allowed. Pretty sure that changed from 1.52 as we didn't encounter errors before.
https://github.com/OpenPeeDeeP/depguard/issues/49
Yes the default behavior changed. Having no depguard config, but enabling it did absolutely nothing in depguard v1.
Is there a way to allow everything by default, and only deny what's in deny list? Removing allow
section doesn't help.
https://github.com/OpenPeeDeeP/depguard/pull/70
I believe this is what you are looking for. I still want to document it before merging it in.
It is unclear what an empty allow and deny list do. README should reflect this.