From f0ae1957f455549cfa7d0267910318430c1947b6 Mon Sep 17 00:00:00 2001 From: Joe Adams Date: Sun, 9 Mar 2025 21:09:28 -0400 Subject: [PATCH] Remove unused golangci-lint config This config isn't needed because we're the code doesn't fail the linter check. The config is however preventing golangci-lint from being upgraded because this does not pass the schema validation. Signed-off-by: Joe Adams --- .golangci.yml | 2 -- scripts/errcheck_excludes.txt | 2 -- 2 files changed, 4 deletions(-) delete mode 100644 scripts/errcheck_excludes.txt diff --git a/.golangci.yml b/.golangci.yml index c6fdefb0..45c8684e 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -11,8 +11,6 @@ issues: - errcheck linters-settings: - errcheck: - exclude-functions: scripts/errcheck_excludes.txt revive: rules: # https://github.com/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#unused-parameter diff --git a/scripts/errcheck_excludes.txt b/scripts/errcheck_excludes.txt deleted file mode 100644 index 2cadaa53..00000000 --- a/scripts/errcheck_excludes.txt +++ /dev/null @@ -1,2 +0,0 @@ -// Used in HTTP handlers, any error is handled by the server itself. -(net/http.ResponseWriter).Write