Skip to content

Commit 417d27b

Browse files
bfirshclaude
andcommitted
Add web Prettier formatting reminder to CLAUDE.md
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent ee2b9c5 commit 417d27b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

CLAUDE.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ This file provides guidance to Claude Code (claude.ai/code) when working with co
77
- `npm test` - Run code formatting check and tests (required before commits)
88
- `npm run build` - Build distribution files (`dist/jsnes.js` and `dist/jsnes.min.js`)
99
- `npm run format` - Auto-format all source code with Prettier
10+
- `cd web && npx prettier --write src/` - Format web UI code (web has its own Prettier config; `npm run format` only covers `src/`)
1011
- `npm run test:watch` - Run tests in watch mode for development
1112
- `npm run typecheck` - TypeScript type checking (verifies `.d.ts` files)
1213
- `node bench.js` - Run performance benchmark (~1800 fps baseline). Run this on major changes or when you suspect a performance regression/improvement.

0 commit comments

Comments
 (0)