Skip to content

Commit 8d4a411

Browse files
committed
docs(tsconfig): name the base config, not the root, in config comments
Claude-Session: https://claude.ai/code/session_01EaorEqkvnJBed5uX9BjSUG Co-authored-by: Claude <noreply@anthropic.com>
1 parent 762d270 commit 8d4a411

53 files changed

Lines changed: 63 additions & 63 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎packages/client/tsconfig.test.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
// bulk of this package's stale TEST_DEBT entry — a measurement of the
2121
// misconfigured check, not of the tests.
2222
// - STRICTNESS IS UNTOUCHED. `strict`, `noUnusedLocals`, `noUnusedParameters`,
23-
// `noImplicitReturns` and the rest are inherited from the root config.
23+
// `noImplicitReturns` and the rest are inherited from the base config.
2424
// Nothing here may loosen a type rule; if a test does not compile, that is
2525
// the finding.
2626
//

‎packages/connectors/connector-mcp/tsconfig.test.json‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
// compiles `src` under the build config's NodeNext and is where that rule is
3737
// enforced.
3838
// - `lib: ["ES2022"]`, for the reason `packages/rest` and `packages/lint`
39-
// state: the root config's `lib` is ES2020 while vitest runs these files on
39+
// state: the base config's `lib` is ES2020 while vitest runs these files on
4040
// a Node with ES2022 builtins, so the gap is reported as TS2550 about the
4141
// CHECK rather than about the code. ⚠️ Measured effect today: **zero** —
4242
// this layer carries no TS2550 either way. Fidelity to the runtime, not
@@ -48,7 +48,7 @@
4848
// - ⛔ STRICTNESS IS UNTOUCHED. `strict`, `noUnusedLocals`,
4949
// `noUnusedParameters`, `noImplicitReturns`, `noFallthroughCasesInSwitch`,
5050
// `types: ["node"]` and `rootDir` are inherited from `tsconfig.json` and
51-
// through it the root config, and none of them is re-declared here.
51+
// through it the base config, and none of them is re-declared here.
5252
// `rootDir` (`./src`) needs no widening: every test file here lives under
5353
// `src` and none reaches outside the package, so the TS6059 pile
5454
// `packages/cli`'s sibling had to widen `rootDir` to clear does not arise —

‎packages/connectors/connector-openapi/tsconfig.test.json‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
// compiles `src` under the build config's NodeNext and is where that rule is
3737
// enforced.
3838
// - `lib: ["ES2022"]`, for the reason `packages/rest` and `packages/lint`
39-
// state: the root config's `lib` is ES2020 while vitest runs these files on
39+
// state: the base config's `lib` is ES2020 while vitest runs these files on
4040
// a Node with ES2022 builtins, so the gap is reported as TS2550 about the
4141
// CHECK rather than about the code. ⚠️ Measured effect today: **zero** —
4242
// this layer carries no TS2550 either way. Fidelity to the runtime, not
@@ -48,7 +48,7 @@
4848
// - ⛔ STRICTNESS IS UNTOUCHED. `strict`, `noUnusedLocals`,
4949
// `noUnusedParameters`, `noImplicitReturns`, `noFallthroughCasesInSwitch`,
5050
// `types: ["node"]` and `rootDir` are inherited from `tsconfig.json` and
51-
// through it the root config, and none of them is re-declared here.
51+
// through it the base config, and none of them is re-declared here.
5252
// `rootDir` (`./src`) needs no widening: every test file here lives under
5353
// `src` and none reaches outside the package, so the TS6059 pile
5454
// `packages/cli`'s sibling had to widen `rootDir` to clear does not arise —

‎packages/connectors/connector-rest/tsconfig.test.json‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
// compiles `src` under the build config's NodeNext and is where that rule is
3737
// enforced.
3838
// - `lib: ["ES2022"]`, for the reason `packages/rest` and `packages/lint`
39-
// state: the root config's `lib` is ES2020 while vitest runs these files on
39+
// state: the base config's `lib` is ES2020 while vitest runs these files on
4040
// a Node with ES2022 builtins, so the gap is reported as TS2550 about the
4141
// CHECK rather than about the code. ⚠️ Measured effect today: **zero** —
4242
// this layer carries no TS2550 either way. Fidelity to the runtime, not
@@ -48,7 +48,7 @@
4848
// - ⛔ STRICTNESS IS UNTOUCHED. `strict`, `noUnusedLocals`,
4949
// `noUnusedParameters`, `noImplicitReturns`, `noFallthroughCasesInSwitch`,
5050
// `types: ["node"]` and `rootDir` are inherited from `tsconfig.json` and
51-
// through it the root config, and none of them is re-declared here.
51+
// through it the base config, and none of them is re-declared here.
5252
// `rootDir` (`./src`) needs no widening: every test file here lives under
5353
// `src` and none reaches outside the package, so the TS6059 pile
5454
// `packages/cli`'s sibling had to widen `rootDir` to clear does not arise —

‎packages/core/tsconfig.examples.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
//
5151
// STRICTNESS IS INHERITED and deliberately not relaxed: `strict`,
5252
// `noUnusedLocals`, `noUnusedParameters`, `noImplicitReturns` and the rest come
53-
// from the root config through `tsconfig.json`. The directory type-checks clean
53+
// from the base config through `tsconfig.json`. The directory type-checks clean
5454
// under them — it enters with ZERO recorded debt and there is no ledger here to
5555
// record any in. A published example that does not compile is the finding, not
5656
// a line to write down.

‎packages/core/tsconfig.test.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
// `lib`: nothing in this layer touches a browser global.
3535
// - ⛔ STRICTNESS IS UNTOUCHED. `strict`, `noUnusedLocals`,
3636
// `noUnusedParameters`, `noImplicitReturns`, `noFallthroughCasesInSwitch`
37-
// are inherited from the root config and `types: ["node"]` from
37+
// are inherited from the base config and `types: ["node"]` from
3838
// `tsconfig.json`. Nothing here may loosen a type rule; if a test does not
3939
// compile, that is the finding.
4040
//

‎packages/drivers/driver-memory/tsconfig.typecheck.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
//
2626
// STRICTNESS IS INHERITED and deliberately not relaxed: `strict`,
2727
// `esModuleInterop`, `forceConsistentCasingInFileNames` and the rest come from
28-
// the root config through `tsconfig.json`. The manifest type-checks clean
28+
// the base config through `tsconfig.json`. The manifest type-checks clean
2929
// under them -- it enters with ZERO recorded debt, and there is no ledger here
3030
// to record any in.
3131
{

‎packages/drivers/driver-mongodb/tsconfig.test.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
// `lib`: nothing in this layer touches a browser global.
4343
// - ⛔ STRICTNESS IS UNTOUCHED. `strict`, `noUnusedLocals`,
4444
// `noUnusedParameters`, `noImplicitReturns`, `noFallthroughCasesInSwitch`
45-
// are inherited from the root config, and `types: ["node"]` restates
45+
// are inherited from the base config, and `types: ["node"]` restates
4646
// `tsconfig.json`'s — load-bearing for the same reason its comment gives,
4747
// since the `.test.ts` files call the `setTimeout` / `console` users in
4848
// `src/test-mongod.ts` and use those globals themselves. Nothing here may

‎packages/formula/tsconfig.test.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
// leg 1 of `typecheck` still compiles `src` under the build config's
3333
// NodeNext and is where that rule is enforced.
3434
// - `lib: ["ES2022"]`, for the reason `packages/rest` and `packages/lint`
35-
// state: the root config's `lib` is ES2020 while vitest runs on a Node with
35+
// state: the base config's `lib` is ES2020 while vitest runs on a Node with
3636
// ES2022 builtins, so the gap is reported as TS2550 about the CHECK.
3737
// ⚠️ Measured effect on today's tree: **zero** — this layer carries no
3838
// TS2550 either way. Fidelity to the runtime, not error reduction, and it is

‎packages/lint/tsconfig.test.json‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,14 @@
2525
// - ⛔ STRICTNESS IS UNTOUCHED. `strict`, `noUnusedLocals`, `noUnusedParameters`,
2626
// `noImplicitReturns`, `noFallthroughCasesInSwitch`, `rootDir`, `paths` and
2727
// `types` (this package's `types: ["node"]` included) are all INHERITED from
28-
// `tsconfig.json` (and through it the root config), and none of them is
28+
// `tsconfig.json` (and through it the base config), and none of them is
2929
// re-declared here. ⚠️ A child that declared its own `paths` would REPLACE the
3030
// parent map rather than merge into it, silently sending a source-resolved
3131
// specifier back to `dist/` — a BUILD ARTIFACT — so this file declares none.
3232
// Nothing here may loosen a type rule; if a test does not compile, that is the
3333
// finding.
3434
// - `lib: ["ES2022"]`, for the same reason `packages/rest` and `plugin-auth`
35-
// state: the root config's `lib` is ES2020 and vitest runs on a Node that has
35+
// state: the base config's `lib` is ES2020 and vitest runs on a Node that has
3636
// ES2022 builtins, so the gap is reported as TS2550 about the CHECK. No `DOM`:
3737
// nothing in this layer touches a browser global.
3838
//

0 commit comments

Comments
 (0)