.golangci.yml: add nolintlint, fix found issues

The errrolint linter can finally ignore errors from Close,
and it also ignores direct comparisons of errors from x/sys/unix.

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
This commit is contained in:
Kir Kolyshkin
2025-03-21 14:31:40 -07:00
parent 65e0f2b719
commit a638f1330b
7 changed files with 29 additions and 28 deletions
+1
View File
@@ -8,6 +8,7 @@ linters:
enable:
- gofumpt
- errorlint
- nolintlint
- unconvert
- unparam