From 1c649cb66dea0a32467ed9b3029808e2065f0ab2 Mon Sep 17 00:00:00 2001 From: Spencer Schrock Date: Mon, 23 Oct 2023 15:57:43 -0700 Subject: [PATCH] :seedling: enable gomoddirectives linter. (#3584) Signed-off-by: Spencer Schrock --- .golangci.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.golangci.yml b/.golangci.yml index 3cfc8760..e1b21d9a 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -43,6 +43,9 @@ linters: - gofumpt - goheader - goimports + # manage use of replace, retract and exclude directives (see https://github.com/ossf/scorecard/pull/3440#issuecomment-1708904830) + # https://golangci-lint.run/usage/linters/#gomoddirectives + - gomoddirectives - gomodguard - goprintffuncname - gosec