-
-
Notifications
You must be signed in to change notification settings - Fork 715
chore(linter): bump oxc_resolver #14721
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore(linter): bump oxc_resolver #14721
Conversation
How to use the Graphite Merge QueueAdd either label to this PR to merge it via the merge queue:
You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has enabled the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. This stack of pull requests is managed by Graphite. Learn more about stacking. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
Enable automatic tsconfig discovery in the linter’s module resolver and deprecate the manual --tsconfig option.
- Switch resolver configuration to use TsconfigDiscovery::Auto.
- Change extension alias behavior to always apply .js/.mjs/.cjs -> .ts/.mts/.cts mapping.
- Temporarily point oxc_resolver to a feature branch to consume the new API.
Reviewed Changes
Copilot reviewed 2 out of 3 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| crates/oxc_linter/src/service/runtime.rs | Update resolver setup to use TsconfigDiscovery::Auto and make extension alias unconditional. |
| Cargo.toml | Point oxc_resolver to a git branch providing tsconfig discovery. |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
CodSpeed Performance ReportMerging #14721 will not alter performanceComparing Summary
|
## Summary Add automatic tsconfig.json discovery that traverses up parent directories, similar to how package.json is discovered. closes #626 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> Rolldown PR: rolldown/rolldown#6602 Oxlint PR: oxc-project/oxc#14721
780ceea to
707bf07
Compare
|
@camc314 I decided to defer the decision on auto tsconfig discovery. |
Merge activity
|
This is incomplete.
707bf07 to
d0faa7c
Compare

This is incomplete.