2023-03-12 11:25:53 +01: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 17:55:55 +01:00
|
|
|
- path: '(.+)_test\.go'
|
|
|
|
text: "dot-imports: should not use dot imports"
|
2023-03-12 11:25:53 +01:00
|
|
|
|
2023-02-28 22:27:25 +00:00
|
|
|
linters:
|
2023-04-11 12:07:04 +02:00
|
|
|
disable:
|
|
|
|
- errcheck
|
2023-02-28 22:27:25 +00:00
|
|
|
enable:
|
2023-03-06 11:23:07 +01:00
|
|
|
- contextcheck
|
2023-03-16 07:29:37 +01:00
|
|
|
- durationcheck
|
2023-02-28 22:27:25 +00:00
|
|
|
- gci
|
2023-03-13 22:00:31 +01:00
|
|
|
- ginkgolinter
|
2023-03-12 10:24:30 +01:00
|
|
|
- gocritic
|
2023-02-28 22:27:25 +00:00
|
|
|
- gofumpt
|
2023-03-11 22:43:45 +01:00
|
|
|
- gosimple
|
2023-04-11 12:07:04 +02:00
|
|
|
- govet
|
2023-03-06 11:51:40 +01:00
|
|
|
- ineffassign
|
2023-02-28 22:27:25 +00:00
|
|
|
- misspell
|
2023-03-11 22:14:51 +01:00
|
|
|
- nonamedreturns
|
2023-03-16 07:29:37 +01:00
|
|
|
- predeclared
|
2023-03-12 11:25:53 +01:00
|
|
|
- revive
|
2023-03-02 11:06:22 +01:00
|
|
|
- staticcheck
|
2023-03-16 07:29:37 +01:00
|
|
|
- unconvert
|
2023-04-11 12:07:04 +02:00
|
|
|
- unparam
|
2023-03-16 07:29:37 +01: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 22:44:17 +02:00
|
|
|
timeout: 5m
|
2024-09-17 12:28:55 +02:00
|
|
|
modules-download-mode: vendor
|