fix: check i18n are sorted (#18324)

This commit is contained in:
Jason Rasmussen
2025-05-15 17:55:16 -04:00
committed by GitHub
parent c046651f23
commit ecb66fdb2c
5 changed files with 83 additions and 39 deletions

View File

@@ -18,7 +18,8 @@
"lint:p": "eslint-p . --max-warnings 0 --concurrency=4",
"lint:fix": "npm run lint -- --fix",
"format": "prettier --check .",
"format:fix": "prettier --write .",
"format:fix": "prettier --write . && npm run format:i18n",
"format:i18n": "npx --yes sort-json ../i18n/*.json",
"test": "vitest --run",
"test:cov": "vitest --coverage",
"test:watch": "vitest dev",