enable more golangci-lint checks

This commit is contained in:
Jörg Thalheim 2024-11-20 10:17:27 +01:00
parent a2b11a4b86
commit 1674c94dc0

View file

@ -1,12 +1,20 @@
linters:
presets:
- bugs
- unused
enable:
- gofmt
- misspell
- revive
- stylecheck
enable-all: true
disable:
# direnv is not a web server, context is not strictly necessary.
- noctx
- cyclop
- depguard
- dogsled
- err113
- exhaustruct
- exportloopref
- forbidigo
- funlen
- gocognit
- gocyclo
- godot
- godox
- lll
- maintidx
- mnd
- nestif
- varnamelen