Code Quality
LaunchFast uses Vitest for unit and component tests, with a full suite of development tools for code quality.
Vitest
For lower-level tests of utilities and individual components, LaunchFast uses Vitest with @testing-library/jest-dom for DOM-specific assertion helpers.
TypeScript
The project uses TypeScript throughout. Run type checking across the whole project:
npm run typecheckESLint
Linting is configured in .eslintrc.js. Run the linter:
npm run lintPrettier
Prettier handles auto-formatting. Install the editor plugin for format-on-save, or run manually:
npm run formatFull validation
Run all checks (type checking, linting, and tests) at once:
npm run validateAlways run validation before committing. Broken validation means do not commit.