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