From 093c274acedf0a103e4f9dc9da834ac6726d07fa Mon Sep 17 00:00:00 2001 From: Christopher Obbard Date: Thu, 8 Jun 2023 16:11:27 +0100 Subject: [PATCH] ci: Enable stylecheck linter The stylecheck linter checks for STxxxx checks (see Link for details) which includes some best-practices for error message. Enable the linter. Link: https://staticcheck.io/docs/configuration/options/#checks Signed-off-by: Christopher Obbard --- .golangci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.golangci.yml b/.golangci.yml index 72f3064..6b63b2b 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -1,4 +1,5 @@ linters: enable: - gofmt + - stylecheck - whitespace