chore: compatibility fixes for linter

This commit is contained in:
stevef 2026-04-03 22:49:40 +02:00
parent f53e50c96a
commit bf7756466e

View file

@ -7,11 +7,10 @@ linters:
- cyclop - cyclop
- depguard - depguard
- dupword - dupword
- err113 - goerr113
- exhaustruct - exhaustruct
- gochecknoglobals - gochecknoglobals
- godot - godot
- intrange
- ireturn - ireturn
- nlreturn - nlreturn
- noctx - noctx
@ -41,7 +40,7 @@ linters:
- ineffassign - ineffassign
- lll - lll
- maintidx - maintidx
- mnd - gomnd
- nestif - nestif
- nilnil - nilnil
- paralleltest - paralleltest
@ -53,7 +52,6 @@ linters:
- thelper - thelper
- unparam - unparam
- usestdlibvars - usestdlibvars
- usetesting
settings: settings:
gomoddirectives: gomoddirectives:
replace-allow-list: replace-allow-list:
@ -79,7 +77,7 @@ linters:
tab-width: 4 tab-width: 4
misspell: misspell:
locale: US locale: US
mnd: gomnd:
checks: checks:
- argument - argument
- assign - assign