From f3c50dbfe03c32a48909dc6264d5fadfd1b1a4bc Mon Sep 17 00:00:00 2001 From: Alex Bozhenko Date: Mon, 13 Jan 2025 15:09:30 -0800 Subject: [PATCH] nit --- jetstream/.golangci.yaml | 41 ++++++++++++++++------------------------ 1 file changed, 16 insertions(+), 25 deletions(-) diff --git a/jetstream/.golangci.yaml b/jetstream/.golangci.yaml index d51879e70..fb548e50e 100644 --- a/jetstream/.golangci.yaml +++ b/jetstream/.golangci.yaml @@ -1,25 +1,16 @@ -run: - concurrency: 4 - issues-exit-code: 1 - tests: true - modules-download-mode: readonly - timeout: 5m - -output: - formats: - - format: colored-line-number - path: stdout - print-issued-lines: true - print-linter-name: true - -linters: - disable-all: true - enable: - - gofmt - - govet - - staticcheck - - misspell - -linters-settings: - misspell: - locale: US +issues: + max-issues-per-linter: 0 + max-same-issues: 0 + exclude-rules: + - linters: + - errcheck + text: "Unsubscribe" + - linters: + - errcheck + text: "Drain" + - linters: + - errcheck + text: "msg.Ack" + - linters: + - errcheck + text: "watcher.Stop"