Skip to content

fix(migrate): resolve Oxlint JSON extends - #3097

Draft
fengmk2 wants to merge 2 commits into
mainfrom
fix/migrate-oxlint-extends
Draft

fengmk2 wants to merge 2 commits into
mainfrom
fix/migrate-oxlint-extends

Conversation

@fengmk2

@fengmk2 fengmk2 commented Oct 17, 2026

Copy link
Copy Markdown
Member

vp migrate copies Oxlint extends paths into lint.extends, which makes plain vp lint fail.

The migrator now resolves nested JSON and JSONC inheritance into config objects. It preserves rule order, severities, overrides, and explicit options, and adjusts relative JS-plugin paths. It resolves workspace configs before it removes source files.

Shared files remain, but later edits do not update the copied settings. Configs that require a manual merge remain in place with a warning. vp lint continues to reject string paths in lint.extends.

Fixes #3089

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Oct 17, 2026 •

Copy link
Copy Markdown

🚀 Deploying Preview to Cloudflare 🚀

Preview URL: https://fix-migrate-oxlint-extends-viteplus-dev.voidzero-docs.workers.dev (commit 843a5ff)

This URL reflects your latest Preview deployment

Preview Deployments by commit

Status Deployment URL Commit Updated (UTC) See this deployment's details
  • Build: Success ✅
  • Deployment: Success ✅

View logs ↗
https://a08881c2-viteplus-dev.voidzero-docs.workers.dev 843a5ff 2026-10-17T07:44:21.554Z Visit the dashboard ↗
  • Build: Success ✅
  • Deployment: Success ✅

View logs ↗
https://b5fe2894-viteplus-dev.voidzero-docs.workers.dev 77c60af 2026-10-17T06:57:21.287Z Visit the dashboard ↗

@github-actions

github-actions Bot commented Oct 17, 2026 •

Copy link
Copy Markdown
Contributor

✅ Staging deployment successful!

Preview: https://viteplus-staging.void.app/
Commit: 843a5ff

This branch has not been deployed

No deployments
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.

vp migrate copies string extends paths from .oxlintrc.json into lint, which vp lint rejects

1 participant