Skip to content

Commit

Permalink
vet: add comment explaining reason for revive lineter disabled rules (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
purnesh42H committed Sep 17, 2024
1 parent 3b626a7 commit 11c44fb
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions scripts/revive.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 11c44fb

Please sign in to comment.