pnpm dev- Start development serverpnpm build- Build for production (runs typechecking first)pnpm lint- Run linting checkspnpm format- Format codepnpm preview- Preview production build
- Formatting: Biome formatter (2-space indent, 80 char width)
- Quotes: Single quotes for JS/TS strings, double quotes for JSX
- Types: Use strict TypeScript typing, avoid
any - Components: Use functional React components with hooks
- State: Atomic state management with Jotai
- Errors: Handle errors gracefully, provide user feedback
- Naming:
- Components: PascalCase
- Functions/variables: camelCase
- Constants: UPPER_SNAKE_CASE when truly constant
- Imports: Automatically organized by Biome
- Structure: Keep related code in appropriate packlets