Migrate to golangci-lint

Signed-off-by: Tam Mach <sayboras@yahoo.com>
This commit is contained in:
sayboras
2019-10-09 23:02:21 +11:00
committed by Tam Mach
parent a837179414
commit 66809646d9
34 changed files with 58 additions and 55 deletions

20
.golangci.yml Normal file
View File

@@ -0,0 +1,20 @@
linters:
enable:
- structcheck
- varcheck
- staticcheck
- unconvert
- gofmt
- goimports
- golint
- ineffassign
- vet
- unused
- misspell
disable:
- errcheck
run:
deadline: 2m
skip-dirs:
- vendor