2019-04-27 01:47:16 +03:00
|
|
|
run:
|
|
|
|
# timeout for analysis, e.g. 30s, 5m, default is 1m
|
2019-10-12 15:03:52 -07:00
|
|
|
timeout: 2m
|
2019-03-22 21:11:31 +03:00
|
|
|
linters:
|
2019-03-22 23:57:00 +03:00
|
|
|
enable:
|
2019-03-28 19:30:02 +03:00
|
|
|
#- golint
|
2019-03-23 00:40:35 +03:00
|
|
|
- interfacer
|
|
|
|
- unconvert
|
2019-03-28 19:30:02 +03:00
|
|
|
#- dupl
|
2019-03-23 00:40:35 +03:00
|
|
|
- goconst
|
2019-03-28 19:30:02 +03:00
|
|
|
- gofmt
|
2019-03-22 23:57:00 +03:00
|
|
|
- misspell
|
2019-04-27 01:47:16 +03:00
|
|
|
- maligned
|
2019-03-28 19:30:02 +03:00
|
|
|
- unparam
|
2019-03-23 00:40:35 +03:00
|
|
|
- nakedret
|
|
|
|
- prealloc
|
2019-03-28 19:30:02 +03:00
|
|
|
#- gosec
|
|
|
|
linters-settings:
|
|
|
|
misspell:
|
|
|
|
locale: US
|
|
|
|
issues:
|
|
|
|
max-same: 0
|
|
|
|
max-per-linter: 0
|
|
|
|
exclude-use-default: false
|
|
|
|
exclude:
|
|
|
|
# gosec: Duplicated errcheck checks
|
2018-10-30 18:43:46 -07:00
|
|
|
- G104
|