Output the actual command for triggering prettier -w

This commit is contained in:
Johannes Marbach
2026-06-15 14:25:53 +02:00
parent 6c105e971e
commit 3822636275
2 changed files with 3 additions and 1 deletions

View File

@@ -17,6 +17,8 @@ export default {
// installed binary. TODO We should switch to Compose v2:
// https://docs.docker.com/compose/migrate/
"docker-compose",
// Shell builtin, not a binary
"printf",
],
ignoreFiles: ["scripts/.pnpmfile.cjs"],
ignoreDependencies: [

View File

@@ -17,7 +17,7 @@
"build:sdk": "pnpm build:full --config vite-sdk.config.js",
"build:sdk:production": "pnpm build:sdk",
"serve": "vite preview",
"prettier:check": "prettier -c .",
"prettier:check": "prettier -c .; EC=$?; [ $EC -ne 0 ] && printf '[\\033[33mwarn\\033[0m] To fix, run: pnpm run prettier:format\\n' >&2; exit $EC",
"prettier:format": "prettier -w .",
"lint": "pnpm lint:types && pnpm lint:eslint && pnpm lint:knip",
"lint:eslint": "eslint --max-warnings 0 src playwright",