Install misspell command

This commit is contained in:
Ethan Frey 2022-05-09 22:32:49 +02:00
parent c8b47f96bd
commit b551b1f00e
1 changed files with 4 additions and 3 deletions

View File

@ -148,14 +148,15 @@ test-sim-multi-seed-short: runsim
### Linting ###
###############################################################################
gofumpt:
format-tools:
go install mvdan.cc/gofumpt@v0.3.1
go install github.com/client9/misspell/cmd/misspell@v0.3.4
lint: gofumpt
lint: format-tools
golangci-lint run --tests=false
find . -name '*.go' -type f -not -path "./vendor*" -not -path "*.git*" -not -path "*_test.go" | xargs gofumpt -d -s
format: gofumpt
format: format-tools
find . -name '*.go' -type f -not -path "./vendor*" -not -path "*.git*" -not -path "./client/lcd/statik/statik.go" | xargs gofumpt -w -s
find . -name '*.go' -type f -not -path "./vendor*" -not -path "*.git*" -not -path "./client/lcd/statik/statik.go" | xargs misspell -w
find . -name '*.go' -type f -not -path "./vendor*" -not -path "*.git*" -not -path "./client/lcd/statik/statik.go" | xargs goimports -w -local github.com/CosmWasm/wasmd