Skip to content
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

Which prettier version is being used and how can I choose a specific one? #25

Open
Grohden opened this issue May 26, 2022 · 0 comments
Open

Comments

@Grohden
Copy link

Grohden commented May 26, 2022

I'm currently trying to migrate a project to dprint but due to a specific problem with formating in the dprint ts plugin I was trying to make dprint use prettier instead (just to be faster)

The problem is that our project is using a really outdated version of prettier (1.18.2) and upgrading it will change a lot of files (more files than if I were to use the ts plugin)

I was assuming that the prettier plugin would use the one from my package json, but that's not true, it takes the version from here right?

Would be nice to have the prettier version info available at the release notes and/or a way to choose a specific version of prettier (although not doing that forces people to upgrade prettier... which is good)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant