diff --git a/.golangci.yml b/.golangci.yml index c3cbae0dc..a5cb83057 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -16,4 +16,7 @@ issues: linters-settings: errcheck: - exclude-functions: ./errcheck_excludes.txt + exclude-functions: + - "fmt.Fprintf" + - "fmt.Fprint" + - "(net/http.ResponseWriter).Write" diff --git a/errcheck_excludes.txt b/errcheck_excludes.txt deleted file mode 100644 index 1c1db2702..000000000 --- a/errcheck_excludes.txt +++ /dev/null @@ -1,3 +0,0 @@ -fmt.Fprintf -fmt.Fprint -(net/http.ResponseWriter).Write