1
0
mirror of https://github.com/ko-build/ko.git synced 2024-11-19 18:01:46 +02:00
ko-build/.golangci.yaml
cpanato 61a6c202c8 build with go1.23 and general housekeeping
Signed-off-by: cpanato <ctadeu@gmail.com>
2024-09-11 10:16:01 -05:00

36 lines
580 B
YAML

run:
timeout: 5m
issues:
exclude-rules:
- path: test # Excludes /test, *_test.go etc.
linters:
- gosec
linters:
enable:
- asciicheck
- errorlint
- gofmt
- gosec
- goimports
- importas
- prealloc
- revive
- misspell
- stylecheck
- tparallel
- unconvert
- unparam
- whitespace
disable:
- errcheck
- depguard
linters-settings:
gosec:
excludes:
# TODO: Check those example in pkg/caps/caps.go:131
- G115 # Potential integer overflow when converting between integer types