26 lines
441 B
YAML
26 lines
441 B
YAML
run:
|
|
# timeout for analysis, e.g. 30s, 5m, default is 1m
|
|
timeout: 5m
|
|
linters:
|
|
enable:
|
|
#- golint
|
|
- interfacer
|
|
- unconvert
|
|
#- dupl
|
|
- goconst
|
|
- gofmt
|
|
- misspell
|
|
- unparam
|
|
- nakedret
|
|
- prealloc
|
|
#- gosec
|
|
linters-settings:
|
|
misspell:
|
|
locale: US
|
|
issues:
|
|
max-same-issues: 0
|
|
max-issues-per-linter: 0
|
|
exclude-use-default: false
|
|
exclude:
|
|
# gosec: Duplicated errcheck checks
|
|
- G104
|