vet: add comment explaining reason for revive lineter disabled rules (#7634)

This commit is contained in:
Purnesh Dixit 2024-09-17 12:07:57 +05:30 committed by GitHub
parent 3b626a7b52
commit 11c44fb848
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 3 deletions

View File

@ -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