Add golangci config

This commit is contained in:
Christian Muehlhaeuser 2020-08-24 15:46:19 +02:00
parent 2821cf2fb4
commit 93eea84f3b

26
.golangci.yml Normal file
View file

@ -0,0 +1,26 @@
run:
tests: false
issues:
max-issues-per-linter: 0
max-same-issues: 0
linters:
enable:
- bodyclose
- dupl
- exportloopref
- goconst
- godot
- godox
- goimports
- gomnd
- goprintffuncname
- gosec
- misspell
- prealloc
- rowserrcheck
- sqlclosecheck
- unconvert
- unparam
- whitespace