Files
avo/.golangci.yml
Michael McLoughlin 0bcbe82731 ci: fix build for go 1.13 (#96)
Updates modules handling so build passes in Go 1.13. Bypasses modules for tools install in bootstrap. Upgrades golangci-lint version to avoid bug with v1.17.1 under Go 1.13.

Fixes #95
2019-09-15 14:43:44 -07:00

27 lines
649 B
YAML

linters:
enable-all: true
disable:
- funlen
- maligned
- lll
- gosec
- prealloc
- unparam
- gochecknoglobals
- gochecknoinits
linters-settings:
depguard:
list-type: whitelist
packages:
- github.com/mmcloughlin/avo
- 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
# gocritic: https://github.com/go-critic/go-critic/issues/762
- ' with `(len|cap|real|imag)`'