Files
avo/.golangci.yml

26 lines
638 B
YAML
Raw Normal View History

2018-12-05 00:49:12 -08:00
linters:
2019-01-09 22:31:14 -08:00
enable-all: true
disable:
- maligned
- lll
- gosec
- prealloc
- unparam
- gochecknoglobals
- gochecknoinits
2018-12-05 00:49:12 -08:00
linters-settings:
depguard:
list-type: whitelist
packages:
- github.com/mmcloughlin/avo
2018-12-17 21:13:00 -08:00
- golang.org/x/
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
2019-01-13 11:09:37 -08:00
# gocritic: https://github.com/go-critic/go-critic/issues/762
2019-01-13 10:12:52 -08:00
- ' with `(len|cap|real|imag)`'