From 7d11e2465c42b9dd05c24d7cacd3da91d6febf02 Mon Sep 17 00:00:00 2001 From: Scott Leggett Date: Fri, 16 May 2025 11:49:04 +0800 Subject: [PATCH] chore: add default exclusions for golangci-lint This config vastly improves the signal to noise ratio from the linter. https://golangci-lint.run/usage/false-positives/#preset-std-error-handling --- .golangci.yaml | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .golangci.yaml diff --git a/.golangci.yaml b/.golangci.yaml new file mode 100644 index 0000000..3506354 --- /dev/null +++ b/.golangci.yaml @@ -0,0 +1,5 @@ +version: "2" +linters: + exclusions: + presets: + - std-error-handling