1
0
mirror of https://github.com/ko-build/ko.git synced 2025-11-06 09:19:12 +02:00
Files
ko-build/.golangci.yaml
cpanato c21c113e71 upgrade golangci-lint to v2
Signed-off-by: cpanato <ctadeu@gmail.com>
2025-04-17 16:20:31 -04:00

48 lines
729 B
YAML

version: "2"
linters:
enable:
- asciicheck
- errorlint
- gosec
- importas
- misspell
- prealloc
- revive
- staticcheck
- tparallel
- unconvert
- unparam
- whitespace
disable:
- depguard
- errcheck
settings:
gosec:
excludes:
- G115
exclusions:
generated: lax
presets:
- comments
- common-false-positives
- legacy
- std-error-handling
rules:
- linters:
- gosec
path: test
paths:
- third_party$
- builtin$
- examples$
formatters:
enable:
- gofmt
- goimports
exclusions:
generated: lax
paths:
- third_party$
- builtin$
- examples$