mirror of
https://github.com/vector-im/element-call.git
synced 2026-08-29 21:15:19 +00:00
Output the actual command for triggering prettier -w
This commit is contained in:
2
knip.ts
2
knip.ts
@@ -17,6 +17,8 @@ export default {
|
|||||||
// installed binary. TODO We should switch to Compose v2:
|
// installed binary. TODO We should switch to Compose v2:
|
||||||
// https://docs.docker.com/compose/migrate/
|
// https://docs.docker.com/compose/migrate/
|
||||||
"docker-compose",
|
"docker-compose",
|
||||||
|
// Shell builtin, not a binary
|
||||||
|
"printf",
|
||||||
],
|
],
|
||||||
ignoreFiles: ["scripts/.pnpmfile.cjs"],
|
ignoreFiles: ["scripts/.pnpmfile.cjs"],
|
||||||
ignoreDependencies: [
|
ignoreDependencies: [
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
"build:sdk": "pnpm build:full --config vite-sdk.config.js",
|
"build:sdk": "pnpm build:full --config vite-sdk.config.js",
|
||||||
"build:sdk:production": "pnpm build:sdk",
|
"build:sdk:production": "pnpm build:sdk",
|
||||||
"serve": "vite preview",
|
"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 .",
|
"prettier:format": "prettier -w .",
|
||||||
"lint": "pnpm lint:types && pnpm lint:eslint && pnpm lint:knip",
|
"lint": "pnpm lint:types && pnpm lint:eslint && pnpm lint:knip",
|
||||||
"lint:eslint": "eslint --max-warnings 0 src playwright",
|
"lint:eslint": "eslint --max-warnings 0 src playwright",
|
||||||
|
|||||||
Reference in New Issue
Block a user