TypeScript, React, and JavaScript best practices enforced by Ultracite/Biome.
Write code that is accessible, performant, type-safe, and maintainable.
| Action | Rule |
|---|---|
| Write components | react-functional-only.md |
| Async code | async-await-promises.md |
| Avoid legacy libs | no-legacy.md |
any types and top-level regex are enforced by Biome (noExplicitAny, useTopLevelRegex).
bun x ultracite fix # Format and fix
bun x ultracite check # Check for issues
bun x ultracite doctor # Diagnose setup
Most issues are auto-fixed:
bun x ultracite fix
console.log, console.debug, or console.info in production codeconsole.error and console.warn for actionable errorsif (IsDev) { ... }biome-ignore to suppress console warnings - remove the logs insteadSee rules/ directory for detailed guidance.