Skip to content

Fix TypeScript tsconfig context resolution#21

Merged
subsetpark merged 1 commit into
masterfrom
fix-typescript-tsconfig-path
Jun 8, 2026
Merged

Fix TypeScript tsconfig context resolution#21
subsetpark merged 1 commit into
masterfrom
fix-typescript-tsconfig-path

Conversation

@subsetpark

@subsetpark subsetpark commented Jun 8, 2026

Copy link
Copy Markdown
Contributor

Summary

  • pass the tsconfig path into TypeScript config parsing so compiler options retain configFilePath
  • add a TypeScript adapter fixture that resolves package-local @types from the analyzed repo instead of the archlint cwd

Validation

  • sh typescript/test.sh
  • uv run --project . python evaluate_test.py
  • uv run --project /Users/zax/code-src/archlint python /Users/zax/code-src/archlint/evaluate.py --repo-root /Users/zax/code-src/provisioning-agent --adapter typescript --typescript-root packages/agent-kernel now reaches policy evaluation instead of failing on TS2688 for bun types

View with Codesmith Autofix with Codesmith
Need help on this PR? Tag /codesmith with what you need. Autofix is disabled.

@subsetpark subsetpark merged commit 067cd77 into master Jun 8, 2026
7 checks passed
@subsetpark subsetpark deleted the fix-typescript-tsconfig-path branch June 8, 2026 19:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant