2020-09-25 05:15:21 +02:00
|
|
|
run:
|
|
|
|
timeout: 5m
|
|
|
|
|
|
|
|
issues:
|
|
|
|
exclude-rules:
|
|
|
|
- path: test # Excludes /test, *_test.go etc.
|
|
|
|
linters:
|
|
|
|
- gosec
|
2021-11-05 19:26:09 +02:00
|
|
|
|
|
|
|
linters:
|
|
|
|
enable:
|
2024-05-06 13:50:41 +02:00
|
|
|
- asciicheck
|
|
|
|
- errorlint
|
|
|
|
- gofmt
|
|
|
|
- gosec
|
|
|
|
- goimports
|
|
|
|
- importas
|
|
|
|
- prealloc
|
|
|
|
- revive
|
|
|
|
- misspell
|
|
|
|
- stylecheck
|
|
|
|
- tparallel
|
|
|
|
- unconvert
|
|
|
|
- unparam
|
|
|
|
- whitespace
|
2021-11-05 19:26:09 +02:00
|
|
|
|
|
|
|
disable:
|
2024-05-06 13:50:41 +02:00
|
|
|
- errcheck
|
|
|
|
- depguard
|
2024-09-11 16:38:08 +02:00
|
|
|
|
|
|
|
linters-settings:
|
|
|
|
gosec:
|
|
|
|
excludes:
|
|
|
|
# TODO: Check those example in pkg/caps/caps.go:131
|
|
|
|
- G115 # Potential integer overflow when converting between integer types
|