fixed linter errors

This commit is contained in:
Bronku 2025-07-16 22:57:36 +02:00
parent d38a61307d
commit 1ae02b3bc6
15 changed files with 242 additions and 117 deletions

24
.golangci.yaml Normal file
View file

@ -0,0 +1,24 @@
version: "2"
linters:
default: all
disable:
- wsl
- wsl_v5
- depguard
- embeddedstructfieldcheck
- exhaustruct
- funcorder
- godot
- musttag
- nlreturn
settings:
varnamelen:
ignore-names:
- err
- w
- r
- db
revive:
rules:
- name: exported
disabled: true