Rename format script to Biome fix

This commit is contained in:
murashit 2026-06-25 16:35:05 +09:00
parent fef24552e9
commit d05b083c12
4 changed files with 8 additions and 5 deletions

View file

@ -67,6 +67,9 @@
"rules": {
"preset": "recommended",
"a11y": "info",
"complexity": {
"useLiteralKeys": "off"
},
"correctness": {
"useExhaustiveDependencies": {
"level": "error",

View file

@ -6,11 +6,11 @@ Use this document for day-to-day implementation mechanics: commands, generated f
```sh
npm ci
npm run format
npm run fix
npm run check
```
Use this as the normal edit loop. `npm run format` applies Biome formatting and import organization without lint fixes; `npm run check` is the local preflight for type checking, tests, lint, format/assist checks, CSS checks, and the production bundle.
Use this as the normal edit loop. `npm run fix` applies Biome formatting, import organization, and safe lint fixes; `npm run check` is the local preflight for type checking, tests, lint, format/assist checks, CSS checks, and the production bundle.
Use focused scripts for tight loops: `npm run typecheck`, `npm run test`, `npm run build`, or the targeted `npm run check:*` scripts. CI and release preflight run the same `npm run check` command as local development.

View file

@ -24,7 +24,7 @@
"check:test": "node --run test",
"check:typecheck": "node --run typecheck",
"check:unused": "knip --no-progress",
"format": "biome check --write --linter-enabled=false",
"fix": "biome check --fix --diagnostic-level=warn --error-on-warnings",
"generate:app-server-types": "node scripts/generate-app-server-types.mjs",
"release:check": "node scripts/release/check.mjs",
"release:preflight": "node scripts/release/preflight.mjs",

View file

@ -1,5 +1,5 @@
import { type ChildProcessWithoutNullStreams, spawn } from "child_process";
import * as readline from "readline";
import { type ChildProcessWithoutNullStreams, spawn } from "node:child_process";
import * as readline from "node:readline";
import type { RpcOutboundMessage } from "./rpc-messages";