From 71196b3dadc724e0eb13b1a1c8e3112a2a1bcc84 Mon Sep 17 00:00:00 2001 From: Maurice Date: Thu, 8 Oct 2026 12:52:00 +0200 Subject: [PATCH] docs: fix the open-shapes spec path and drop two leftover dashes The open-request-schemas header pointed at scripts/open-request-schemas.spec.ts, which does not exist; the spec lives in src/. The bracket-notation comment in the server ESLint config kept a dash that the earlier cleanup on this branch missed. --- server/eslint.config.mjs | 2 +- shared/scripts/open-request-schemas.mjs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/server/eslint.config.mjs b/server/eslint.config.mjs index 89e15b440..9b6a22acd 100644 --- a/server/eslint.config.mjs +++ b/server/eslint.config.mjs @@ -25,7 +25,7 @@ const ENV_SELECTORS = [ 'Read configuration via src/app-config (readEnv()/derive/tokens), not process.env. Exemptions: eslint.config.mjs + src/app-config/README.md.', }, { - // Bracket-notation variant (process['env']) — property is a Literal + // Bracket-notation variant (process['env']): the property is a Literal // node (.value), so the selector above can't match it. selector: "MemberExpression[object.name='process'][property.value='env']", message: diff --git a/shared/scripts/open-request-schemas.mjs b/shared/scripts/open-request-schemas.mjs index 486886c85..4584f3da4 100644 --- a/shared/scripts/open-request-schemas.mjs +++ b/shared/scripts/open-request-schemas.mjs @@ -24,7 +24,7 @@ * raises or adds an entry * * It reads the built dist/, so run `npm run build` first. The same check runs - * against src/ in `npm test` (scripts/open-request-schemas.spec.ts). + * against src/ in `npm test` (src/open-request-schemas.spec.ts). */ import { existsSync, readFileSync, realpathSync, writeFileSync } from 'node:fs'; import { createRequire } from 'node:module';