golangci-lint: enable misspell, tweak configuration

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Sebastiaan van Stijn 2019-08-28 18:31:14 +02:00
parent c9553897f3
commit f41712c4be
No known key found for this signature in database
GPG key ID: 76698F39D527CE8C

View file

@ -8,6 +8,7 @@ linters:
- gosimple
- govet
- ineffassign
- misspell
- unconvert
disable:
@ -33,6 +34,12 @@ linters-settings:
issues:
exclude-rules:
# Exclude some linters from running on tests files.
- path: _test\.go
linters:
- errcheck
- gosec
- text: "G201: SQL string formatting"
linters:
- gosec