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:
parent
57c4ccc18a
commit
05ee429f6b
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue