-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[codemod][FP] nuxt/4/migration-recipe #1247
Comments
Thanks for reporting this! We'll investigate this issue. @all-contributors add @xmatthias for bugs |
I couldn't determine any contributions to add, did you specify any contributions? I've put up a pull request to add @xmatthias! 🎉 |
Adding a bit more details here - it seems to happen in
|
Original
Expected
Actual
(nothing else in the eslint file was modified).
Estimated impact
Numbers about your specific codemod run:
Logs:
// Please insert the contents of a log file generated by the codemod run here.
Additional context
In a regular nuxt project with eslint using flatconfig configured, i'm running the following migration script (according to the nuxt docs).
npx codemod@latest nuxt/4/migration-recipe
This also updates
eslint.config.mjs
(wrongly)Result:
Now unfortunately - the modification causes eslint to complain (quite loudly)
Reverting this line fixes the problem - though i guess this shouldn't happen for a smooth migration between nuxt3 to nuxt4.
The text was updated successfully, but these errors were encountered: