-
-
Notifications
You must be signed in to change notification settings - Fork 485
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
🐛 Unable to migrate ESLint configuration that extends @vercel/style-guide/eslint to Biome #4528
Comments
Have you installed |
Thank you for checking. |
Have you the same error when you run |
When I ran |
The issue comes from the fact that |
#4538 will fix your issue. However, we will encounter another issue with a known workaround explained in this comment. |
I apologize for my delayed confirmation. |
Environment information
What happened?
What I Want to Achieve
I want to migrate my ESLint configuration that uses @vercel/style-guide to Biome.
Current Issue
For testing the migration from ESLint to Biome configuration, I created a simple .eslintrc.js as follows:
Then, I tried to migrate the ESLint configuration to Biome by running
npx biome migrate eslint --write --include-inspired
, but encountered the following error and couldn't complete the migration:What I've Tried
Thinking there might be an issue with the .eslintrc.js format, I replaced it with the following and ran the migration command again:
This time, the migration completed successfully.
Additionally, I noticed that a similar issue was reported in #3709, so I tried installing version 1.9.5-nightly.4713c52 which includes fixes for the reported issue.
However, running the migration command still resulted in the same error, and the migration failed.
Based on these attempts, I suspect that the migration fails when @vercel/style-guide is used in the extends field, but I'm not sure how to resolve this issue.
If anyone knows how to fix this, I would greatly appreciate your help.
Expected result
I want to migrate an ESLint configuration that extends @vercel/style-guide/eslint to Biome.
Code of Conduct
The text was updated successfully, but these errors were encountered: