style(client): format the ratchet scripts with Prettier

The checker scripts were written without semicolons, against the
semi: true in .prettierrc, so every one of them failed the formatting
rule lint:format enforces on src/ and tests/. This is prettier --write
over the scripts this branch added or rewrote, nothing else.
This commit is contained in:
Maurice
2026-10-08 12:24:37 +02:00
parent 17b72ff778
commit 0344a86aec
16 changed files with 473 additions and 398 deletions
+7 -5
View File
@@ -18,9 +18,11 @@
* To format a file: npx prettier --write <file>. The comparison lives in
* scripts/lib/format.mjs.
*/
import { fileURLToPath } from 'node:url'
import { check } from './lib/format.mjs'
import { runCli } from './lib/ratchet.mjs'
import { fileURLToPath } from 'node:url';
import { check } from './lib/format.mjs';
import { runCli } from './lib/ratchet.mjs';
const root = fileURLToPath(new URL('..', import.meta.url))
await runCli('lint:format', (args) => check({ root, update: args.includes('--update'), list: args.includes('--list') }))
const root = fileURLToPath(new URL('..', import.meta.url));
await runCli('lint:format', (args) =>
check({ root, update: args.includes('--update'), list: args.includes('--list') })
);