mirror of
https://github.com/tiennm99/ccs.git
synced 2026-07-17 02:16:43 +00:00
10 lines
398 B
Plaintext
10 lines
398 B
Plaintext
# Run quick checks before commit (typecheck + lint + format only).
|
|
# Full CI parity is enforced by .husky/pre-push via validate:ci-parity.
|
|
bun run typecheck && bun run lint:fix && bun run format:check
|
|
|
|
# Validate UI if changes detected (typecheck + lint only)
|
|
if git diff --cached --name-only | grep -q "^ui/"; then
|
|
echo "[i] UI changes detected, running ui:validate..."
|
|
bun run ui:validate
|
|
fi
|