# Run linting on staged and unstaged changes and stop if any errors are found # --quiet skips warning-level rules (temporary until all warnings are fixed) npm run affected:lint -- --uncommitted --parallel=2 --quiet || exit 1 # Check formatting on staged and unstaged changes and stop if any issues are found npm run format:check -- --uncommitted || exit 1