From d3a4ff827f5b0fb9eedfc84baad84b6cdbd4c8b4 Mon Sep 17 00:00:00 2001 From: Cory Snider Date: Wed, 1 Mar 2023 10:21:08 -0500 Subject: [PATCH] linting: exclude ST1005: error strings should not be capitalized (stylecheck) Changing the output of errors would be unexpected in a patch release. Signed-off-by: Cory Snider --- .golangci.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.golangci.yml b/.golangci.yml index 9f32b0dee8..3b0940f2b7 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -110,6 +110,12 @@ issues: - errcheck - gosec + # Fixing these lints would change user-facing output, which would be + # undesirable to introduce in a patch release. + - text: "ST1005: error strings should not be capitalized" + linters: + - stylecheck + # Maximum issues count per one linter. Set to 0 to disable. Default is 50. max-issues-per-linter: 0