Files
kind/hack/tools/.golangci.yml

34 lines
691 B
YAML
Raw Normal View History

run:
2024-12-11 15:04:35 -08:00
timeout: 3m
linters:
disable-all: true
enable:
- errcheck
- gosimple
- govet
- ineffassign
- staticcheck
- typecheck
- gochecknoinits
- gofmt
2021-11-16 15:19:10 -08:00
- revive # replaces golint for now
- misspell
2021-11-16 15:19:10 -08:00
- exportloopref
- unparam
linters-settings:
staticcheck:
checks:
- all
2023-08-24 14:41:21 -07:00
issues:
exclude-rules:
# this requires renaming all unused parameters, we'd rather leave a preferred
# placeholder name in place when implementing an interface etc.
# we can revisit this later, right now it's generating a lot of new warnings
# after upgrading golangci-lint
- text: "^unused-parameter: .*"
linters:
- revive