diff --git a/.husky/pre-commit b/.husky/pre-commit index e591a50d9..a8866207a 100644 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,8 +1,9 @@ if [[ "$OS" == "Windows_NT" ]]; then npx.cmd lint-staged + # Check for unused i18n keys in staged files + npx.cmd tsx scripts/check-unused-i18n-keys.ts else npx lint-staged + # Check for unused i18n keys in staged files + npx tsx scripts/check-unused-i18n-keys.ts fi - -# Check for unused i18n keys in staged files -npx tsx scripts/check-unused-i18n-keys.ts