From a0a2defd14f90e14b13711cb8292cba087805025 Mon Sep 17 00:00:00 2001 From: Chmouel Boudjnah Date: Fri, 5 Apr 2024 08:26:12 +0200 Subject: [PATCH] throw the hammer --- .errcheck.txt | 7 ------- .golangci.yml | 5 +++++ 2 files changed, 5 insertions(+), 7 deletions(-) delete mode 100644 .errcheck.txt diff --git a/.errcheck.txt b/.errcheck.txt deleted file mode 100644 index 086d571..0000000 --- a/.errcheck.txt +++ /dev/null @@ -1,7 +0,0 @@ -(*github.com/tektoncd/pipeline/vendor/go.uber.org/zap.SugaredLogger).Sync -flag.Set -logger.Sync -fmt.Fprintf -fmt.Fprintln -(io.Closer).Close -updateConfigMap diff --git a/.golangci.yml b/.golangci.yml index f4544e4..5741928 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -2,6 +2,11 @@ issues: exclude-dirs: - tint - vendor + exclude-rules: + # Exclude some linters from running on tests files. + - path: \.go + linters: + - typecheck linters-settings: gocritic: disabled-checks: