Files
self/.husky/pre-commit
Justin Hernandez 431f556542 chore: centralize license header checks (#952)
* chore: centralize license header scripts

* chore: run license header checks from root

* add header to other files

* add header to bundle

* add migration script and update check license headers

* convert license to mobile sdk

* migrate license headers

* remove headers from common; convert remaining

* fix headers

* add license header checks
2025-08-25 11:30:23 -07:00

15 lines
593 B
Plaintext
Executable File

if ! yarn gitleaks; then
echo "❌ Gitleaks scan failed. Please review the output above and fix any issues."
echo "💡 To skip this check temporarily, use: git commit --no-verify"
exit 1
fi
# Check license headers
echo "🔍 Checking license headers..."
if ! node scripts/check-license-headers.mjs --check; then
echo "❌ License header check failed. Please review the output above and fix any issues."
echo "💡 You can auto-fix some issues with: node scripts/check-license-headers.mjs --fix"
echo "💡 To skip this check temporarily, use: git commit --no-verify"
exit 1
fi