Enable the unconvert, misspell, and nakedret linters

They seem fairly reasonable in what they do.

Signed-off-by: Nic Cope <negz@rk0n.org>
This commit is contained in:
Nic Cope 2019-03-07 15:40:13 -08:00
parent 57c4ccc18a
commit 05ee429f6b
1 changed files with 3 additions and 6 deletions

View File

@ -111,12 +111,9 @@ linters:
- gofmt # We enable this as well as goimports for its simplify mode.
- prealloc
- golint
enable-all: false
disable:
- maligned
# - prealloc
disable-all: false
- unconvert
- misspell
- nakedret
presets:
- bugs