aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--CLAUDE.md6
-rw-r--r--package.json4
2 files changed, 7 insertions, 3 deletions
diff --git a/CLAUDE.md b/CLAUDE.md
index 118ac71..507c72d 100644
--- a/CLAUDE.md
+++ b/CLAUDE.md
@@ -13,7 +13,9 @@ pnpm test # Run tests (Vitest)
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 fix # Auto-fix lint and format
+pnpm fix:lint # Auto-fix lint issues with Biome
+pnpm fix:format # Auto-format with Biome
pnpm db:generate # Generate database migrations
pnpm db:migrate # Run database migrations
pnpm db:push # Push schema changes to DB
@@ -25,7 +27,7 @@ See [docs/dev/architecture.md](docs/dev/architecture.md) for details.
## Code Style
-- **Formatter/Linter**: Biome (run `pnpm check:lint` to check, `pnpm format` to auto-format)
+- **Formatter/Linter**: Biome (run `pnpm check:lint` to check, `pnpm fix` to auto-fix)
- **Indentation**: Tabs
- **Quotes**: Double quotes for JS/TS
- **Imports**: Organized by Biome (auto-sorted)
diff --git a/package.json b/package.json
index db840b7..88171cc 100644
--- a/package.json
+++ b/package.json
@@ -16,7 +16,9 @@
"check": "pnpm check:ts && pnpm check:lint",
"check:ts": "tsc --noEmit",
"check:lint": "biome check .",
- "format": "biome format --write .",
+ "fix": "pnpm fix:lint && pnpm fix:format",
+ "fix:lint": "biome check --write .",
+ "fix:format": "biome format --write .",
"db:generate": "drizzle-kit generate",
"db:migrate": "drizzle-kit migrate",
"db:push": "drizzle-kit push",