From 8012e7aa157a1e784b1b1a73ad4c41bb1d00c582 Mon Sep 17 00:00:00 2001 From: "Anderson A. Giacomolli" Date: Mon, 9 Nov 2026 17:49:59 -0300 Subject: [PATCH] Check error handling and common Go mistakes The lint config keeps the standard linters and adds errorlint and gocritic. Error checks accept wrapped errors, and common Go mistakes fail the same check command as the existing code checks. --- .golangci.yml | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 .golangci.yml diff --git a/.golangci.yml b/.golangci.yml new file mode 100644 index 0000000..082c4f4 --- /dev/null +++ b/.golangci.yml @@ -0,0 +1,7 @@ +version: "2" + +linters: + default: standard + enable: + - errorlint + - gocritic -- 2.53.0