treewide: add buf_proto_lint_test to all proto_library targets

Change-Id: Iaf6dc22fdbef6fcfd0bedff755bcdb06b56a6631
Reviewed-on: https://review.monogon.dev/c/monogon/+/3800
Tested-by: Jenkins CI
Reviewed-by: Leopold Schabel <leo@monogon.tech>
diff --git a/metropolis/proto/ext/BUILD.bazel b/metropolis/proto/ext/BUILD.bazel
index 01112b0..7137da4 100644
--- a/metropolis/proto/ext/BUILD.bazel
+++ b/metropolis/proto/ext/BUILD.bazel
@@ -1,6 +1,19 @@
 load("@io_bazel_rules_go//go:def.bzl", "go_library")
 load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library")
 load("@rules_proto//proto:defs.bzl", "proto_library")
+load("@rules_proto_grpc_buf//:defs.bzl", "buf_proto_lint_test")
+
+buf_proto_lint_test(
+    name = "ext_proto_lint_test",
+    except_rules = [
+        "PACKAGE_VERSION_SUFFIX",
+    ],
+    protos = [":ext_proto"],
+    use_rules = [
+        "DEFAULT",
+        "COMMENTS",
+    ],
+)
 
 proto_library(
     name = "ext_proto",