refactor(linter/plugins): rename oxlint/rule-tester to oxlint/plugins-dev#18793
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.
Pull request overview
This PR renames the oxlint/rule-tester export to oxlint/plugins-dev as part of a larger refactoring effort to separate plugin authoring tools into dedicated packages. This is a preparatory step for eventually moving RuleTester into a standalone @oxlint/plugins-dev package.
Changes:
- Renamed the entry point from
oxlint/rule-testertooxlint/plugins-dev - Updated deprecation notice to point to the new import path
- Updated all internal references to use the new path
Reviewed changes
Copilot reviewed 6 out of 7 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| npm/oxlint/package.json | Updated exports to expose ./plugins-dev instead of ./rule-tester |
| apps/oxlint/package.json | Updated exports and internal imports mapping to use plugins-dev |
| apps/oxlint/tsdown.config.ts | Updated build entry point to include plugins-dev.ts instead of rule-tester.ts |
| apps/oxlint/src-js/plugins-dev.ts | New entry point file that exports RuleTester |
| apps/oxlint/src-js/index.ts | Updated deprecation notice to reference new import path |
| apps/oxlint/conformance/src/rule_tester.ts | Updated import to use #oxlint/plugins-dev |
| apps/oxlint/conformance/src/groups/stylistic.ts | Updated type import to use #oxlint/plugins-dev |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Merge activity
|
95414cb to
0c382c4
Compare
9fae30e to
ceae6b5
Compare
0c382c4 to
9de9385
Compare
ceae6b5 to
ab4fddd
Compare

Part of #18610.
Our intent is to move
RuleTesterto a separate package@oxlint/plugins-dev.So rename the current entry point which exports
RuleTesterfromoxlint/rule-testertooxlint/plugins-dev.