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 typecheck

ESLint

Linting is configured in .eslintrc.js. Run the linter:

npm run lint

Prettier

Prettier handles auto-formatting. Install the editor plugin for format-on-save, or run manually:

npm run format

Full validation

Run all checks (type checking, linting, and tests) at once:

npm run validate

Always run validation before committing. Broken validation means do not commit.