2019-06-09 07:24:20 +00:00
|
|
|
run:
|
|
|
|
# timeout for analysis, e.g. 30s, 5m, default is 1m
|
2022-08-19 16:34:07 +00:00
|
|
|
timeout: 5m
|
2019-06-09 07:24:20 +00:00
|
|
|
linters:
|
|
|
|
enable:
|
|
|
|
#- golint
|
|
|
|
- interfacer
|
|
|
|
- unconvert
|
|
|
|
#- dupl
|
|
|
|
- goconst
|
|
|
|
- gofmt
|
|
|
|
- misspell
|
|
|
|
- unparam
|
|
|
|
- nakedret
|
|
|
|
- prealloc
|
|
|
|
#- gosec
|
|
|
|
linters-settings:
|
|
|
|
misspell:
|
|
|
|
locale: US
|
|
|
|
issues:
|
2022-08-19 16:34:07 +00:00
|
|
|
max-same-issues: 0
|
|
|
|
max-issues-per-linter: 0
|
2019-06-09 07:24:20 +00:00
|
|
|
exclude-use-default: false
|
|
|
|
exclude:
|
|
|
|
# gosec: Duplicated errcheck checks
|
|
|
|
- G104
|