Skip to content

test(migrate): rerun ESLint and Prettier fixtures with --full - #3193

Merged
fengmk2 merged 5 commits into
voidzero-dev:mainfrom
liangmiQwQ:test/migrate-rerun-full
Oct 23, 2026
Merged

fengmk2 merged 5 commits into
voidzero-dev:mainfrom
liangmiQwQ:test/migrate-rerun-full

Conversation

@liangmiQwQ

Copy link
Copy Markdown
Collaborator

Since #1891, vp migrate on a project that already depends on vite-plus only upgrades the toolchain, and ESLint and Prettier migration moved behind --full. The rerun fixtures still ran a plain vp migrate --no-interactive. So their snapshots recorded the "Skipped editor, hooks, and lint setup" hint and failed assertions: the ESLint/Prettier configs were still on disk and no Vite config was written. Nothing covered ESLint or Prettier migration on an existing Vite+ project.

This PR adds --full to the migrate step in migration_eslint_rerun, migration_eslint_rerun_mjs, migration_eslint_rerun_dual_config and migration_prettier_rerun. The recorded output now shows ESLint/Prettier removed from devDependencies, scripts rewritten to vp lint . / vp fmt ., the old configs deleted, and the Oxlint/Oxfmt config merged into the Vite config.

migration_eslint_legacy_already_vite_plus also runs with --full, so it shows the legacy .eslintrc warning again. It now also checks that ESLint, its lint script and .eslintrc are left in place.

🤖 Generated with Claude Code

@liangmiQwQ

Copy link
Copy Markdown
Collaborator Author

@codex review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 22, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-22T13:51:02.561602Z 70a0bdd Manual request
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Chef's kiss.

Reviewed commit: 70a0bdd5cc

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@liangmiQwQ
liangmiQwQ marked this pull request as ready for review October 22, 2026 14:06
@liangmiQwQ
liangmiQwQ requested a review from fengmk2 October 22, 2026 14:06
@fengmk2 fengmk2 self-assigned this Oct 23, 2026
@fengmk2
fengmk2 merged commit 709936d into voidzero-dev:main Oct 23, 2026
47 checks passed
@liangmiQwQ
liangmiQwQ deleted the test/migrate-rerun-full branch October 24, 2026 00:34
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.

2 participants