next-forge uses Ultracite for code formatting and linting. Ultracite is a preconfigured setup of Biome, a high-performance Rust-based toolchain which includes a formatter, linter, and more for JavaScript and TypeScript.

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:

Terminal
npx ultracite

This will check and fix all files in the current directory.