-
-
Notifications
You must be signed in to change notification settings - Fork 28
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
Prettier v3 Support #1597
Comments
Which version of CLI are you using? |
Using |
Looking at the source file I haven't tried prettier v3 yet, would you please help isolating it from your project configurations? i.e. It's the default behaviour and we need to tell Prettier V3 to treat it as TypeScript/JavaScript instead of Flow. |
I upgraded the project to Prettier V3 in alpha, examples and tests are passing without experiencing this issue. Please give |
Some of the older dependencies are preventing us from completely upgrade prettier, but since it's not a peer dependency it really shouldn't matters. We will downgrade to Prettier V2 in the upcoming versions, please feel free to reopen if you find it still an issue. EDIT 2024-05-08Inline snapshots in jest v29 is not compatible with prettier v3, the upcoming jest v30 should work but it's still in pre-release. Deferring updates until it's officially out. We may also replace jest with vitest in #1754 and stop worrying about the prettier peer. |
Prettier v3 is currently out, and projects are starting to migrate over, any project using Prettier v3 is unable to use the GQty CLI.
The text was updated successfully, but these errors were encountered: