# Prettier Setup

## Role
Set up automatic code formatting with Prettier to ensure consistency.

## Actions
1. Check if Prettier is installed (`npm ls prettier`)
2. If missing, install Prettier:
   ```bash
   npm install -D prettier
   ```
3. Create .prettierrc configuration file
4. Create .prettierignore to exclude dist/, node_modules/
5. Run `npx prettier --check src/` to verify
6. Format with `npx prettier --write src/` if needed

## Validation Criteria
- [ ] Prettier is installed
- [ ] .prettierrc exists with consistent configuration
- [ ] `npx prettier --check src/` passes without errors
- [ ] dist/ and node_modules/ are ignored