Add golangcli-lint config file

This commit is contained in:
Andrew Morgan 2018-06-15 17:07:44 +01:00
parent 78440083df
commit 9e9a337c68

21
.golangci.yaml Normal file
View file

@ -0,0 +1,21 @@
linters-settings:
govet:
check-shadowing: true
golint:
min-confidence: 0
gocyclo:
min-complexity: 12
dupl:
threshold: 100
goconst:
min-len: 2
min-occurrences: 3
linters:
enable-all: true
disable:
- maligned
- goimports
- depguard
- dupl
- interfacer