mirror of
https://github.com/openclaw/openclaw.git
synced 2026-07-14 08:26:06 +00:00
* 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.
24 lines
613 B
JSON
24 lines
613 B
JSON
{
|
|
"extends": "./tsconfig.json",
|
|
"compilerOptions": {
|
|
// Plugin production indexed reads must account for missing entries.
|
|
"noUnusedLocals": true,
|
|
"noUnusedParameters": true,
|
|
"tsBuildInfoFile": ".artifacts/tsgo-cache/extensions.tsbuildinfo"
|
|
},
|
|
"include": ["src/**/*.d.ts", "ui/src/**/*.d.ts", "extensions/**/*"],
|
|
"exclude": [
|
|
"node_modules",
|
|
"dist",
|
|
"**/dist/**",
|
|
"**/*.test.ts",
|
|
"**/*.test.tsx",
|
|
"**/*test-helpers.ts",
|
|
"**/*test-harness.ts",
|
|
"**/*test-support.ts",
|
|
"extensions/**/test/**",
|
|
"extensions/**/src/test-support/**",
|
|
"test/**"
|
|
]
|
|
}
|