Skip to content

ESLint flat config is silently dropped #2688

Description

@yusuke99

Describe the bug

When a project has ESLint flat config and uses vp migrate it drops unsupported rules, but it doesn't show any warning or report. In this situation, this would mislead that every ESLint rules was migrated successfully. Instead, show the report that was generated by @oxlint/migrate which is called under the hood by vp migrate.

Reproduction

https://github.com/yusuke99/vite-plus-reproduction/tree/migrate-eslint-rules-silent

Steps to reproduce

git clone --single-branch --branch migrate-eslint-rules-silent https://github.com/yusuke99/vite-plus-reproduction.git
cd vite-plus-reproduction
pnpm run vp-migrate

System Info

vp: 0.3.1
Node.js: 22.18.0
pnpm: 11.25.0

Used Package Manager

pnpm

Logs

Validations

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    Fields

    Priority

    None yet

    Effort

    None yet

    Target date

    None yet

    Start date

    None yet

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions