Formatting

Code formatting, linting and more.

Formatting and linting run through Ultracite, a preconfigured setup of Biome — a Rust toolchain covering formatting and linting for JavaScript and TypeScript. bun run check runs it; bun run fix applies what it can.

Benefits

Ultracite provides several benefits:

  • Zero configuration required - works out of the box
  • Extremely fast performance
  • Consistent code style across your project
  • Built-in linting rules
  • TypeScript support

Usage

The formatter and linter are automatically configured in your project and will run on save. If you want to manually run them across your project, you can run the following commands:

  • bun run lint - This will check all files across all apps and packages.
  • bun run format - This will check and fix all files across all apps and packages.

On this page

GitHubEdit this page on GitHub