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. - gofmt # We enable this as well as goimports for its simplify mode.
- prealloc - prealloc
- golint - golint
enable-all: false - unconvert
- misspell
disable: - nakedret
- maligned
# - prealloc
disable-all: false
presets: presets:
- bugs - bugs