mirror of
https://github.com/k3s-io/k3s.git
synced 2024-06-07 19:41:36 +00:00
4fbc241679
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
30 lines
476 B
YAML
30 lines
476 B
YAML
---
|
|
issues:
|
|
exclude-rules:
|
|
# syscall param structs will have unused fields in Go code.
|
|
- path: syscall.*.go
|
|
linters:
|
|
- structcheck
|
|
|
|
linters:
|
|
disable-all: true
|
|
enable:
|
|
- deadcode
|
|
- errcheck
|
|
- goimports
|
|
- gosimple
|
|
- govet
|
|
- ineffassign
|
|
- misspell
|
|
- staticcheck
|
|
- structcheck
|
|
- typecheck
|
|
- unused
|
|
- varcheck
|
|
|
|
# Could be enabled later:
|
|
# - gocyclo
|
|
# - prealloc
|
|
# - maligned
|
|
# - gosec
|