chore(frontend): align format scripts with Makefile and README (#1481)

* chore(frontend): add format scripts

* docs(frontend): document format commands
This commit is contained in:
luo jiyin
2026-03-27 22:49:41 +08:00
committed by GitHub
parent 18b0794125
commit 50db51d0fb
2 changed files with 10 additions and 0 deletions

View File

@@ -41,6 +41,12 @@ pnpm dev
# Type check
pnpm typecheck
# Check formatting
pnpm format
# Apply formatting
pnpm format:write
# Lint
pnpm lint
@@ -113,6 +119,8 @@ src/
| `pnpm dev` | Start development server with Turbopack |
| `pnpm build` | Build for production |
| `pnpm start` | Start production server |
| `pnpm format` | Check formatting with Prettier |
| `pnpm format:write` | Apply formatting with Prettier |
| `pnpm lint` | Run ESLint |
| `pnpm lint:fix` | Fix ESLint issues |
| `pnpm typecheck` | Run TypeScript type checking |