From 897f22233810919ba01608bffbfa69f2bb926388 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Sun, 15 Feb 2026 16:58:47 +0900 Subject: refactor: rename lint/typecheck scripts to check namespace Consolidate typecheck and lint into a unified `pnpm check` command with `check:ts` and `check:lint` sub-commands. Update CI workflow to use the single check step and update docs accordingly. Co-Authored-By: Claude Opus 4.6 --- CLAUDE.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'CLAUDE.md') diff --git a/CLAUDE.md b/CLAUDE.md index 25c313f..118ac71 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -10,9 +10,9 @@ pnpm dev # Start backend server (hot reload) pnpm dev:client # Start frontend dev server (port 5173) pnpm build # Build both server and client pnpm test # Run tests (Vitest) -pnpm typecheck # TypeScript type checking -pnpm lint # Lint with Biome -pnpm lint:fix # Auto-fix lint issues +pnpm check # Run all checks (TypeScript + lint) +pnpm check:ts # TypeScript type checking +pnpm check:lint # Lint with Biome pnpm format # Format with Biome pnpm db:generate # Generate database migrations pnpm db:migrate # Run database migrations @@ -25,7 +25,7 @@ See [docs/dev/architecture.md](docs/dev/architecture.md) for details. ## Code Style -- **Formatter/Linter**: Biome (run `pnpm lint` to check, `pnpm lint:fix` to auto-fix) +- **Formatter/Linter**: Biome (run `pnpm check:lint` to check, `pnpm format` to auto-format) - **Indentation**: Tabs - **Quotes**: Double quotes for JS/TS - **Imports**: Organized by Biome (auto-sorted) @@ -51,4 +51,4 @@ Test environment uses `JWT_SECRET=test-secret-key` and mock factories for test d ## CI Pipeline -Lint → Typecheck → Test → Build (see `.github/workflows/ci.yaml`) +Check (lint + typecheck) → Test → Build (see `.github/workflows/ci.yaml`) -- cgit v1.3-1-g0d28