2018-12-05 00:49:12 -08:00
|
|
|
linters:
|
|
|
|
|
enable-all: false
|
|
|
|
|
enable:
|
2018-12-31 11:20:55 -08:00
|
|
|
- golint
|
2018-12-31 11:01:50 -08:00
|
|
|
- gosimple
|
|
|
|
|
- misspell
|
|
|
|
|
- gocyclo
|
|
|
|
|
- gofmt
|
2018-12-05 00:49:12 -08:00
|
|
|
- structcheck
|
|
|
|
|
- varcheck
|
|
|
|
|
- ineffassign
|
|
|
|
|
- typecheck
|
|
|
|
|
- megacheck
|
|
|
|
|
- deadcode
|
|
|
|
|
- govet
|
|
|
|
|
- errcheck
|
|
|
|
|
- goimports
|
|
|
|
|
- depguard
|
|
|
|
|
- goconst
|
|
|
|
|
- unconvert
|
|
|
|
|
- gocritic
|
|
|
|
|
|
|
|
|
|
linters-settings:
|
|
|
|
|
depguard:
|
|
|
|
|
list-type: whitelist
|
|
|
|
|
packages:
|
|
|
|
|
- github.com/mmcloughlin/avo
|
2018-12-17 21:13:00 -08:00
|
|
|
- golang.org/x/
|
2019-01-04 18:38:23 -08:00
|
|
|
|
|
|
|
|
issues:
|
|
|
|
|
exclude-use-default: false
|
|
|
|
|
exclude:
|
|
|
|
|
# errcheck: Almost all programs ignore errors on these functions and in most cases it's ok
|
|
|
|
|
- Error return value of .((os\.)?std(out|err)\..*|.*Close|.*Flush|os\.Remove(All)?|.*printf?|os\.(Un)?Setenv). is not checked
|