mirror of
https://github.com/kubernetes-sigs/kind.git
synced 2025-11-30 23:16:04 +07:00
34 lines
691 B
YAML
34 lines
691 B
YAML
run:
|
|
timeout: 3m
|
|
|
|
linters:
|
|
disable-all: true
|
|
enable:
|
|
- errcheck
|
|
- gosimple
|
|
- govet
|
|
- ineffassign
|
|
- staticcheck
|
|
- typecheck
|
|
- gochecknoinits
|
|
- gofmt
|
|
- revive # replaces golint for now
|
|
- misspell
|
|
- exportloopref
|
|
- unparam
|
|
|
|
linters-settings:
|
|
staticcheck:
|
|
checks:
|
|
- all
|
|
|
|
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
|