Skip to content

Commit

Permalink
more linter checks
Browse files Browse the repository at this point in the history
  • Loading branch information
zalimeni committed Sep 18, 2024
1 parent 30fb54d commit 722dfb2
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,11 @@ issues:
text: 'SA1019:'
path: "(agent/grpc-external|agent/grpc-internal)"

# Allow usage of deprecated grpc.DialContext until we've migrated from it.
# Allow usage of deprecated grpc DialContext and WithBlock until we've migrated from it.
- linters: [ staticcheck ]
text: 'SA1019: grpc.DialContext is deprecated: use NewClient instead'
text: '(Dial|DialContext) is deprecated: use NewClient instead'
- linters: [ staticcheck ]
text: '(WithBlock) is deprecated: this DialOption is not supported by NewClient'

# An argument that always receives the same value is often not a problem.
- linters: [unparam]
Expand Down

0 comments on commit 722dfb2

Please sign in to comment.