Files
openclaw/test/tsconfig/tsconfig.test.json
Peter Steinberger 566043eb54 feat(tooling): enforce noUncheckedIndexedAccess from the base tsconfig (NUIA endgame) (#105239)
* feat(tooling): enforce noUncheckedIndexedAccess from the base tsconfig

Completes #104600: the flag moves to tsconfig.json, the five per-lane
copies are removed, and test lanes carry one documented opt-out at their
shared parent (the ~4,400 fixture-indexing sites are a tracked
lane-by-lane follow-up). Any future lane inherits the flag by default.
Synthetic probes verify src rejects unchecked reads while test files
compile; all nine lane commands green.

* fix(memory-core): give the batch-call sort a defined element type

Type-aware lint analyzes test files under the base flag (its tsconfig
extends the root, not the test parent), so the widened call[0] made the
bare toSorted() fire require-array-sort-compare.
2026-07-12 10:57:26 +01:00

25 lines
754 B
JSON

{
"extends": "../../tsconfig.json",
"compilerOptions": {
// Test lanes opt out of noUncheckedIndexedAccess for now (~4,400 fixture
// indexing sites); tracked as a lane-by-lane follow-up to #104600.
"noUncheckedIndexedAccess": false,
"rootDir": "../.."
},
"include": [
"../../src/**/*.d.ts",
"../../src/**/*.test.ts",
"../../src/**/*.test.tsx",
"../../ui/**/*.d.ts",
"../../ui/**/*.test.ts",
"../../ui/**/*.test.tsx",
"../../extensions/**/*.d.ts",
"../../extensions/**/*.test.ts",
"../../extensions/**/*.test.tsx",
"../../packages/**/*.d.ts",
"../../packages/**/*.test.ts",
"../../packages/**/*.test.tsx"
],
"exclude": ["../../node_modules", "../../dist", "../../**/dist/**"]
}