diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-02-15 17:13:41 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-02-15 17:13:41 +0900 |
| commit | 086ad98480d8898b610965bc23ef934173f9fdfc (patch) | |
| tree | c54887e7d96db82f4ac1f2e0927200b24e27abd0 /package.json | |
| parent | 95bb8c70a98fabae2a60b251489a59065b2978d1 (diff) | |
| download | kioku-086ad98480d8898b610965bc23ef934173f9fdfc.tar.gz kioku-086ad98480d8898b610965bc23ef934173f9fdfc.tar.zst kioku-086ad98480d8898b610965bc23ef934173f9fdfc.zip | |
refactor: rename format script to fix namespace with lint auto-fix
Add pnpm fix (runs fix:lint + fix:format), pnpm fix:lint (biome check
--write), and rename pnpm format to pnpm fix:format for consistency
with the existing check namespace convention.
Diffstat (limited to 'package.json')
| -rw-r--r-- | package.json | 4 |
1 files changed, 3 insertions, 1 deletions
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", |
