mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-17 17:33:47 +00:00
add gofmt, misspell, goconst, unconvert, gosimple, deadline=10m, min-occurrences=6
This commit is contained in:
parent
e79ce54a75
commit
8889632abe
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
|
@ -39,7 +39,7 @@ test: all
|
|||
|
||||
lint: install-linters ## Run linters. Use make install-linters first.
|
||||
vendorcheck ./...
|
||||
gometalinter --disable-all -E vet -E goimports -E varcheck --tests --vendor ./...
|
||||
gometalinter --disable-all -E vet -E goimports -E varcheck -E gofmt -E misspell -E goconst -E unconvert -E gosimple --deadline=10m --min-occurrences=6 --tests --vendor ./...
|
||||
|
||||
install-linters: ## Install linters
|
||||
go get -u github.com/FiloSottile/vendorcheck
|
||||
|
|
|
|||
Loading…
Reference in a new issue