Update deps, update config of golangci-lint, fix some golangci-lint warnings

This commit is contained in:
eleksir
2025-05-27 20:54:22 +03:00
parent 21b5f59c1c
commit f9dd1acc45
78 changed files with 1602 additions and 2205 deletions

View File

@@ -1,11 +1,12 @@
run:
tests: false
skip-dirs:
- data
- vendor
modules-download-mode: readonly
allow-parallel-runners: true
go: '1.21'
go: '1.24'
issues:
exclude-dirs:
- data
- vendor
output:
sort-results: true
linters-settings:
@@ -34,13 +35,12 @@ linters:
- errorlint
- exhaustive
- exhaustruct
- exportloopref
- copyloopvar
- ginkgolinter
- gci
- gocheckcompilerdirectives
- gocritic
- godot
- goerr113
- err113
- gofmt
- goimports
- gosec