apply prettier to the entire repository (#5799)
This commit is contained in:
+3
-3
@@ -15,9 +15,9 @@ format-go:
|
||||
docker run --rm -it -v "$(shell pwd):/s" -w /s temp \
|
||||
sh -c "gofumpt -l -w ."
|
||||
|
||||
format-docs:
|
||||
format-other:
|
||||
echo "$$DOCKERFILE_PRETTIER" | docker build . -f - -t temp
|
||||
docker run --rm -v "$(shell pwd)/docs:/s" -w /s temp \
|
||||
docker run --rm -v "$(shell pwd)/:/s" -w /s temp \
|
||||
sh -c "prettier --write ."
|
||||
|
||||
format: format-go format-docs
|
||||
format: format-go format-other
|
||||
|
||||
Reference in New Issue
Block a user