We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2f9a4f6 commit 7505c3fCopy full SHA for 7505c3f
.github/workflows/project.yml
@@ -35,5 +35,3 @@ jobs:
35
# https://github.com/cncf/foundation/blob/main/allowed-third-party-license-policy.md
36
go-licenses-ignore: |
37
github.com/multiformats/go-base36
38
- - run: ./hack/verify-no-patent.sh
39
- working-directory: src/github.com/containerd/nerdctl
.golangci.yml
@@ -150,6 +150,10 @@ linters-settings:
150
desc: "pkg must not depend on viper"
151
- pkg: "github.com/containerd/nerdctl/v2/cmd"
152
desc: "pkg must not depend on any cmd files"
153
+ no-patent:
154
+ deny:
155
+ - pkg: "github.com/hashicorp/golang-lru/arc/v2"
156
+ desc: "patented (https://github.com/hashicorp/golang-lru/blob/arc/v2.0.7/arc/arc.go#L18)"
157
158
issues:
159
max-issues-per-linter: 0
hack/verify-no-patent.sh
0 commit comments