Added golangci linter (#51)

Signed-off-by: Arjun Naik <arjun.rn@gmail.com>
This commit is contained in:
Arjun
2019-04-27 13:35:55 +02:00
committed by GitHub
parent 2eed3e64d0
commit 445c7c874a

19
.golangci.yml Normal file
View File

@ -0,0 +1,19 @@
run:
linters-settings:
golint:
min-confidence: 0.9
linters:
disable-all: true
enable:
- staticcheck
- ineffassign
- golint
- goimports
- errcheck
issues:
exclude-rules:
# Exclude some staticcheck messages
- linters:
- staticcheck
text: "SA9003:"