Skip to content

Speed up pre commit checks#8851

Merged
alexr00 merged 1 commit into
mainfrom
alexr00/dual-hummingbird
Jul 16, 2026
Merged

Speed up pre commit checks#8851
alexr00 merged 1 commit into
mainfrom
alexr00/dual-hummingbird

Conversation

@alexr00

@alexr00 alexr00 commented Jul 16, 2026

Copy link
Copy Markdown
Member

No description provided.

Copilot AI review requested due to automatic review settings July 16, 2026 16:10
@alexr00
alexr00 enabled auto-merge (squash) July 16, 2026 16:10
@alexr00 alexr00 self-assigned this Jul 16, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR optimizes local developer pre-commit checks by running hygiene and staged-file ESLint in parallel, reducing end-to-end hook latency while preserving failure reporting.

Changes:

  • Run build/hygiene.js concurrently with staged-file ESLint, then propagate the first failing status appropriately.
  • Replace npx eslint with a direct invocation of the repo’s local ESLint binary to avoid npx overhead.
  • Update contributor/Copilot guidance to reflect npm workflows and the package-lock.json lockfile.
Show a summary per file
File Description
.husky/pre-commit Runs hygiene + staged TS/TSX ESLint concurrently and returns appropriate exit codes to speed up pre-commit checks.
.github/copilot-instructions.md Updates repo guidance from yarn to npm conventions and references package-lock.json.

Review details

  • Files reviewed: 2/2 changed files
  • Comments generated: 0
  • Review effort level: Low

@alexr00
alexr00 merged commit d621ff1 into main Jul 16, 2026
8 checks passed
@alexr00
alexr00 deleted the alexr00/dual-hummingbird branch July 16, 2026 17:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants