Add CI config (#1)

Add CI config

Signed-off-by: jolheiser <john.olheiser@gmail.com>

Co-authored-by: jolheiser <john.olheiser@gmail.com>
Reviewed-on: https://gitea.com/jolheiser/gpm/pulls/1
pull/2/head
John Olheiser 2020-02-21 14:12:58 +00:00
parent 2ad783017a
commit 932d05f5ab
1 changed files with 23 additions and 0 deletions

23
.golangci.yml 100644
View File

@ -0,0 +1,23 @@
linters:
enable:
- deadcode
- dogsled
- dupl
- errcheck
- funlen
- gocognit
- goconst
- gocritic
- gocyclo
- gofmt
- golint
- gosimple
- govet
- misspell
- prealloc
- staticcheck
- structcheck
- typecheck
- unparam
- unused
- varcheck