mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-10-18 21:16:47 +00:00
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.
This commit is contained in:
@@ -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:
|
||||
|
||||
@@ -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';
|
||||
|
||||
Reference in New Issue
Block a user