mirror of
https://github.com/taigrr/gopher-os
synced 2025-01-18 04:43:13 -08:00
lint: add "gofmt -s" to the linter list
This commit is contained in:
parent
b46598cb67
commit
3bfbf6389e
1
Makefile
1
Makefile
@ -184,6 +184,7 @@ lint: lint-check-deps
|
|||||||
--enable=unconvert \
|
--enable=unconvert \
|
||||||
--enable=varcheck \
|
--enable=varcheck \
|
||||||
--enable=golint \
|
--enable=golint \
|
||||||
|
--enable=gofmt \
|
||||||
--deadline 300s \
|
--deadline 300s \
|
||||||
--exclude 'possible misuse of unsafe.Pointer' \
|
--exclude 'possible misuse of unsafe.Pointer' \
|
||||||
--exclude 'x \^ 0 always equals x' \
|
--exclude 'x \^ 0 always equals x' \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user