-
-
Notifications
You must be signed in to change notification settings - Fork 104
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 3 + prettier-java 2.2.0 + linux + java 17 is broken. #585
Comments
Hello @portlek! It might be related to how prettier is resolving plugins with v3. As @murdos said in this comment #508 (comment), there were some changes on this topic. I will try to have a look this weekend. Is this happening on all code snippets? |
Yes, i've tested with empty classes and on a full featured project. |
I was unable to reproduce this with a barebones npm project on Linux, but was able to reproduce it when using a Gradle project leveraging the Spotless plugin (as it seems that you were). As is pointed out in diffplug/spotless#1751, Spotless does not yet support Prettier 3, so I suspect you will need to wait until the work is done there to support it. |
As the diffplug/spotless#1751 issue is fixed, I will close this issue as well. Thanks for reporting it anyway ! |
i get parsing error while i'm using the latest versions of tools in linux.
windows 11 works fine with the latest versions.
2.8.0 and 2.1.0 version for prettier and prettier-java works fine both linux and windows.
here is the full error:
The text was updated successfully, but these errors were encountered: