summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorTamir Duberstein <tamird@google.com>2021-02-05 13:26:22 -0800
committergVisor bot <gvisor-bot@google.com>2021-02-05 13:28:41 -0800
commit3514c289a9c9da232bf3054c971c3e0434d8cfa3 (patch)
tree84d309b415f3a6841d6989f570dcf4b66ea8734e
parent71def1c5869af69e4127f2b07ebd7d5c62642597 (diff)
Suppress ST1019 on generated protobufs
PiperOrigin-RevId: 355915778
-rw-r--r--nogo.yaml5
1 files changed, 5 insertions, 0 deletions
diff --git a/nogo.yaml b/nogo.yaml
index d9cbd900d..e43148a6d 100644
--- a/nogo.yaml
+++ b/nogo.yaml
@@ -147,6 +147,11 @@ analyzers:
- pkg/sentry/fs/fs.go # Intentional.
- pkg/sentry/fs/gofer/inode.go # Intentional.
- pkg/refs/refcounter_test.go # Intentional.
+ ST1019:
+ generated:
+ exclude:
+ # package ".../kubeapi/core/v1/v1" is being imported more than once
+ - generated.gen.pb.go
ST1021:
internal:
suppress: