diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-02-15 16:58:47 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-02-15 16:58:47 +0900 |
| commit | 897f22233810919ba01608bffbfa69f2bb926388 (patch) | |
| tree | cb6a140e4b818921386e8b2a0a79354e1359a5f6 /CLAUDE.md | |
| parent | 6e6b83173e35b0e8351e558ae685e226d9d44636 (diff) | |
| download | kioku-897f22233810919ba01608bffbfa69f2bb926388.tar.gz kioku-897f22233810919ba01608bffbfa69f2bb926388.tar.zst kioku-897f22233810919ba01608bffbfa69f2bb926388.zip | |
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 <noreply@anthropic.com>
Diffstat (limited to 'CLAUDE.md')
| -rw-r--r-- | CLAUDE.md | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -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`) |
