This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
npm run dev- Start dev server on port 3010npm run build- Build the applicationnpm run start- Start the production servernpm run lint- Run ESLintnpm run lint:fix- Run ESLint with auto-fix- Test:
npx jest [filepath]- Run specific test
- Use ESLint and Prettier for code formatting
- Semi-colons are required
- Tab width: 2 spaces
- Print width: 100 characters
- Single quotes for strings
- No trailing commas
- JSX brackets on same line
- React components use .js or .mjs extension
- Server-side code primarily uses .mjs extension
- Follow existing error handling patterns using Errors.mjs
- Use consistent camelCase for variables and methods
- Use PascalCase for components and classes