1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-03-17 20:47:50 +02:00

chore: disable prettier for now

This commit is contained in:
Carlos Alexandro Becker 2018-08-01 10:04:30 -03:00
parent a12a8bc25c
commit 6690897da4
No known key found for this signature in database
GPG Key ID: E61E2F7DC14AB940

View File

@ -39,14 +39,14 @@ cover: test
# gofmt and goimports all go files
fmt:
find . -name '*.go' -not -wholename './vendor/*' | while read -r file; do gofmt -w -s "$$file"; goimports -w "$$file"; done
find . -name '*.md' -not -wholename './vendor/*' | xargs prettier --write
# find . -name '*.md' -not -wholename './vendor/*' | xargs prettier --write
.PHONY: fmt
# Run all the linters
lint:
# TODO: fix tests and lll issues
./bin/golangci-lint run --tests=false --enable-all --disable=lll ./...
find . -name '*.md' -not -wholename './vendor/*' | xargs prettier -l
# find . -name '*.md' -not -wholename './vendor/*' | xargs prettier -l
.PHONY: lint
# Run all the tests and code checks