Add golint config

License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
This commit is contained in:
Jakub Sztandera 2019-07-01 22:26:59 +02:00
parent 5736ac1d9d
commit 126fa8913a

21
.golangci.yml Normal file
View File

@ -0,0 +1,21 @@
linters:
disable-all: true
enable:
- vet
- gofmt
- misspell
- goconst
- golint
- errcheck
- unconvert
- staticcheck
- varcheck
- structcheck
- deadcode
issues:
exclude-use-default: false
linters-settings:
goconst:
min-occurrences: 6