- Added commands to stage modified tracked files and run lint-staged for auto-fixing issues. - Included a type check step to ensure code quality before commits.
11 lines
307 B
Plaintext
Executable File
11 lines
307 B
Plaintext
Executable File
# Stage all modified tracked files (includes manual fixes to already-staged files)
|
|
git add -u
|
|
|
|
# Run lint-staged on staged files (checks linting, formats with prettier, and re-stages)
|
|
pnpm lint-staged
|
|
|
|
# Run type check
|
|
pnpm type-check
|
|
|
|
# Security audit is enforced in CI (`.github/workflows/security.yml`).
|