From d33da4881bd6caf03759127c6e0f4a706c66ebb3 Mon Sep 17 00:00:00 2001 From: Istio Automation Date: Sat, 1 Jun 2024 16:49:23 -0400 Subject: [PATCH] Automator: update common-files@master in istio/bots@master (#838) --- common/.commonfiles.sha | 2 +- common/config/.golangci.yml | 18 ++++++++++-------- 2 files changed, 11 insertions(+), 9 deletions(-) diff --git a/common/.commonfiles.sha b/common/.commonfiles.sha index 6928ccc6..0bee0bc9 100644 --- a/common/.commonfiles.sha +++ b/common/.commonfiles.sha @@ -1 +1 @@ -a0434b881d7810fada661975a26b5d0ee61d688d +15e31cf7d53ff4c65a6e8926a1fd74b9125cb8f3 diff --git a/common/config/.golangci.yml b/common/config/.golangci.yml index f37dd6ee..6de3ce12 100644 --- a/common/config/.golangci.yml +++ b/common/config/.golangci.yml @@ -234,19 +234,21 @@ issues: - path: _test\.go$ text: "dot-imports: should not use dot imports" # We need to use the deprecated module since the jsonpb replacement is not backwards compatible. - - linters: - - staticcheck + - linters: [staticcheck] text: "SA1019: package github.com/golang/protobuf/jsonpb" - - linters: - - staticcheck + - linters: [staticcheck] text: 'SA1019: "github.com/golang/protobuf/jsonpb"' # This is not helpful. The new function is not very usable and the current function will not be removed - - linters: - - staticcheck + - linters: [staticcheck] text: 'SA1019: grpc.Dial is deprecated: use NewClient instead' - - linters: - - staticcheck + - linters: [staticcheck] text: 'SA1019: grpc.DialContext is deprecated: use NewClient instead' + - linters: [staticcheck] + text: "SA1019: grpc.WithBlock is deprecated" + - linters: [staticcheck] + text: "SA1019: grpc.FailOnNonTempDialError" + - linters: [staticcheck] + text: "SA1019: grpc.WithReturnConnectionError" # Independently from option `exclude` we use default exclude patterns, # it can be disabled by this option. To list all # excluded by default patterns execute `golangci-lint run --help`.