openclaw/packages/tsconfig.json
Vincent Koc fb1ca633ec
perf(lint): bound the package fallback type graph (#160281)
Use native nearest-project discovery to keep package fallback lint out of the repository-wide TypeScript graph while preserving package leaf precedence, ambient declarations and diagnostics.

Measured package inventory shrinks from 47,787 to 15,002 files. Native package-containing stripe passes 4,429 files in 73.31 seconds at 5.93 GiB peak under a 7 GiB/no-swap cap. Native selector, ambient and diagnostic fixtures pass; exact-head review has no findings or remaining moves.

Related: https://github.com/openclaw/openclaw/issues/160010
2026-09-29 00:27:31 +07:00

13 lines
528 B
JSON

{
"extends": "../config/tsconfig/oxlint.source.json",
// Package fallback files previously used the repository graph, which excludes
// JavaScript and test-only session compatibility. Preserve both contracts.
"compilerOptions": { "allowJs": false },
"files": [
"../src/agents/sessions/keybindings.ts",
"../src/cli/program/openclaw-command.ts",
"../src/agents/bash-tools.exec.resolve-env-hook.test.ts",
"../src/plugin-sdk/channel-inbound.test.ts",
"../src/infra/host-env-security-policy.d.ts"
]
}