upgrade lint config

Signed-off-by: Dan Finneran <dan@thebsdbox.co.uk>
This commit is contained in:
Dan Finneran
2025-12-15 12:02:41 +00:00
parent a35849d4f8
commit aecc0264b0

View File

@@ -1,13 +1,30 @@
run:
timeout: 10m
version: "2"
linters:
enable:
- bodyclose
- gofmt
- goimports
- revive
- gosec
- misspell
- unconvert
- unparam
- bodyclose
- gosec
- misspell
- revive
- unconvert
- unparam
exclusions:
generated: lax
presets:
- comments
- common-false-positives
- legacy
- std-error-handling
paths:
- third_party$
- builtin$
- examples$
formatters:
enable:
- gofmt
- goimports
exclusions:
generated: lax
paths:
- third_party$
- builtin$
- examples$