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

Delegate to repository-local dprint when available #838

Open
cjpearson opened this issue Apr 5, 2024 · 0 comments
Open

Delegate to repository-local dprint when available #838

cjpearson opened this issue Apr 5, 2024 · 0 comments

Comments

@cjpearson
Copy link
Contributor

Like dprint, the tool turborepo supports installing both globally and per-project through npm. When the globally-installed executable is run in a directory which has a local install, it automatically defers to the local version.

https://turbo.build/repo/docs/installing#install-per-repository

It seems to me that this sort of behavior would also be useful for dprint. You have the convenience of a global install, but developers on a team will automatically stay in sync and it's easy to switch between projects with different dprint versions. Is this a pattern that dprint could also support?

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