Run all quality gates to make sure the code is ready to commit.
Steps
Run these in order — each step may surface issues that affect the next.
- •
Auto-format all files:
bashnpm run format
- •
Lint and report errors:
bashnpm run lint
If there are auto-fixable issues, run
npm run lint:fixand then lint again to confirm only non-fixable warnings remain. - •
Typecheck without emitting:
bashnpx tsc --noEmit
Result
- •If all three pass cleanly, the code is ready to commit.
- •Report any remaining errors that need manual attention — do not ignore TypeScript or lint errors.
- •Prettier formatting changes and lint fixes can be staged and committed automatically.