updated dependencies and golangci-lint to v2

This commit is contained in:
Gani Georgiev
2025-04-12 20:04:04 +03:00
parent d9af1475ef
commit 4cc797071b
18 changed files with 93 additions and 109 deletions

View File

@@ -1,28 +1,27 @@
version: "2"
run:
go: 1.23
concurrency: 4
timeout: 10m
linters:
disable-all: true
default: none
enable:
- asasalint
- asciicheck
- gofmt
- goimports
- gomodguard
- goprintffuncname
- gosimple
- govet
- ineffassign
- misspell
- nakedret
- nolintlint
- prealloc
- prealloc
- reassign
- staticcheck
- typecheck
- unconvert
- unused
- whitespace
formatters:
enable:
- gofmt
- goimports