2023-03-12 10:25:53 +00:00
|
|
|
issues:
|
|
|
|
exclude-rules:
|
|
|
|
- linters:
|
|
|
|
- revive
|
|
|
|
text: "don't use ALL_CAPS in Go names; use CamelCase"
|
|
|
|
- linters:
|
|
|
|
- revive
|
|
|
|
text: " and that stutters;"
|
2023-10-30 16:55:55 +00:00
|
|
|
- path: '(.+)_test\.go'
|
|
|
|
text: "dot-imports: should not use dot imports"
|
2023-03-12 10:25:53 +00:00
|
|
|
|
2023-02-28 22:27:25 +00:00
|
|
|
linters:
|
2023-04-11 10:07:04 +00:00
|
|
|
disable:
|
|
|
|
- errcheck
|
2023-02-28 22:27:25 +00:00
|
|
|
enable:
|
2023-03-06 10:23:07 +00:00
|
|
|
- contextcheck
|
2023-03-16 06:29:37 +00:00
|
|
|
- durationcheck
|
2023-02-28 22:27:25 +00:00
|
|
|
- gci
|
2023-03-13 21:00:31 +00:00
|
|
|
- ginkgolinter
|
2023-03-12 09:24:30 +00:00
|
|
|
- gocritic
|
2023-02-28 22:27:25 +00:00
|
|
|
- gofumpt
|
2023-03-11 21:43:45 +00:00
|
|
|
- gosimple
|
2023-04-11 10:07:04 +00:00
|
|
|
- govet
|
2023-03-06 10:51:40 +00:00
|
|
|
- ineffassign
|
2023-02-28 22:27:25 +00:00
|
|
|
- misspell
|
2023-03-11 21:14:51 +00:00
|
|
|
- nonamedreturns
|
2023-03-16 06:29:37 +00:00
|
|
|
- predeclared
|
2023-03-12 10:25:53 +00:00
|
|
|
- revive
|
2023-03-02 10:06:22 +00:00
|
|
|
- staticcheck
|
2023-03-16 06:29:37 +00:00
|
|
|
- unconvert
|
2023-04-11 10:07:04 +00:00
|
|
|
- unparam
|
2023-03-16 06:29:37 +00:00
|
|
|
- unused
|
|
|
|
- wastedassign
|
2023-02-28 22:27:25 +00:00
|
|
|
|
|
|
|
linters-settings:
|
|
|
|
gci:
|
|
|
|
sections:
|
|
|
|
- standard
|
|
|
|
- default
|
|
|
|
- prefix(github.com/containernetworking)
|
|
|
|
|
|
|
|
run:
|
2023-09-01 20:44:17 +00:00
|
|
|
timeout: 5m
|
2024-09-17 10:28:55 +00:00
|
|
|
modules-download-mode: vendor
|