From a61673c68d85b1ac50431c3cd5fce7da9c9fc9af Mon Sep 17 00:00:00 2001 From: ai-bot Date: Wed, 28 Oct 2026 17:47:02 +0000 Subject: [PATCH] =?UTF-8?q?ai-note:=20make=20x86=20does=20not=20run=20the?= =?UTF-8?q?=20prettier=20check=20=E2=80=94=20correct=20the=20trap?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ai-note.md | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/ai-note.md b/ai-note.md index 0667022..738faad 100644 --- a/ai-note.md +++ b/ai-note.md @@ -414,12 +414,14 @@ volume, mounted at `/data`. No Postgres, no Redis, no external backend, no extra `type: "image/png"`. - **The favicon link sits next to the manifest link, and `/login` has no manifest.** `IconTests` asserts the exact string `` on all six pages. -- **`make x86` runs `prettier --check startos`, and the config is the SDK's own.** `.prettierrc` is the +- **The prettier config is the SDK's own, and `make x86` does not run the check.** `.prettierrc` is the single line `"@start9labs/start-sdk/prettier.config.json"`, which is `{ trailingComma: "all", tabWidth: 2, semi: false, singleQuote: true }` — everything else is - prettier's default, so `printWidth` is 80 and `quoteProps` is `"as-needed"`. Write it the way - prettier would, or run - `npx prettier --config node_modules/@start9labs/start-sdk/prettier.config.json --write startos`. + prettier's default, so `printWidth` is 80 and `quoteProps` is `"as-needed"`. The SDK makefile + defines the check as `FORMAT_CHECK`, but `make x86` packs without it, so write the TypeScript the way + prettier would **and** run + `npx prettier --config node_modules/@start9labs/start-sdk/prettier.config.json --check startos` + before you hand the round back; `--write` fixes the files. In `startos/manifest/i18n.ts` a value that does not fit the line breaks after the colon, and a string with an apostrophe uses double quotes. **A property is measured together with its trailing comma**, so the limit is `printWidth − indent` — 78 columns for a top-level property, not 80.