From 11c44fb848ff16a8b82dff9823a4ee271aee7c50 Mon Sep 17 00:00:00 2001 From: Purnesh Dixit Date: Tue, 17 Sep 2024 12:07:57 +0530 Subject: [PATCH] vet: add comment explaining reason for revive lineter disabled rules (#7634) --- scripts/revive.toml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/scripts/revive.toml b/scripts/revive.toml index d6565df07c2e..30238dd8e66f 100644 --- a/scripts/revive.toml +++ b/scripts/revive.toml @@ -24,9 +24,8 @@ [rule.use-any] # Disabled rules -# https://github.com/grpc/grpc-go/issues/7444 to track TODO(s) -[rule.empty-block] +[rule.empty-block] # Disabled to allow intentional no-op blocks (e.g., channel draining). Disabled = true -[rule.import-shadowing] +[rule.import-shadowing] # Disabled to allow intentional reuse of variable names that are the same as package imports. Disabled = true