apply prettier to the entire repository (#5799)

This commit is contained in:
Alessandro Ros
2026-05-26 11:35:14 +02:00
committed by GitHub
parent e63dd7132a
commit 903627ffed
16 changed files with 2213 additions and 2078 deletions
+6 -6
View File
@@ -24,14 +24,14 @@ lint-docslinks:
lint-docsorder:
go test -v -tags enable_linters ./internal/linters/docsorder
lint-docs:
echo "$$DOCKERFILE_PRETTIER" | docker build . -f - -t temp
docker run --rm -v "$(shell pwd)/docs:/s" -w /s temp \
sh -c "prettier --check ."
lint-api-docs:
echo "$$DOCKERFILE_API_DOCS_LINT" | docker build . -f - -t temp
docker run --rm -v "$(shell pwd)/api:/s" -w /s temp \
sh -c "openapi lint openapi.yaml"
lint: lint-go lint-go-mod lint-conf lint-go2api lint-docslinks lint-docsorder lint-docs lint-api-docs
lint-other:
echo "$$DOCKERFILE_PRETTIER" | docker build . -f - -t temp
docker run --rm -v "$(shell pwd)/:/s" -w /s temp \
sh -c "prettier --check ."
lint: lint-go lint-go-mod lint-conf lint-go2api lint-docslinks lint-docsorder lint-api-docs lint-other