test(linter/plugins): use subpath imports in tests#16075
test(linter/plugins): use subpath imports in tests#16075graphite-app[bot] merged 1 commit intomainfrom
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. |
Merge activity
|
There was a problem hiding this comment.
Pull request overview
This PR updates import statements in two recently-added test fixture files to use the #oxlint subpath import instead of relative paths (../../../dist/index.js), aligning with the convention established in PR #15920.
- Standardizes import patterns across all oxlint test fixtures
- Improves maintainability by using package.json-defined subpath imports
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| apps/oxlint/test/fixtures/tokens/plugin.ts | Updated import to use #oxlint subpath instead of relative path |
| apps/oxlint/test/fixtures/sourceCode_token_methods/plugin.ts | Updated import to use #oxlint subpath instead of relative path |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
#15920 altered `import`s in tests to use `'#eslint'` subpath. Make recently-added tests follow the same pattern.
7ed55e3 to
791d632
Compare
oxc-project#15920 altered `import`s in tests to use `'#eslint'` subpath. Make recently-added tests follow the same pattern.

#15920 altered
imports in tests to use'#eslint'subpath. Make recently-added tests follow the same pattern.