It would be pretty great to have a single formatter that just handles all the normally irrelevant files we have alongside code. Going for sandboxing the formatters is also great, though it seems like this is pretty weak if the plugins can just execute other formatters.
However, I would not want to load plugins from a remote in my CI, so I'd probably prefer local copies, which in turn requires some sort of package manager to keep those up to date. sigh
6 comments
[ 3.0 ms ] story [ 26.8 ms ] threadHowever, I would not want to load plugins from a remote in my CI, so I'd probably prefer local copies, which in turn requires some sort of package manager to keep those up to date. sigh
See: https://dprint.dev/setup/#custom-cache-directory
It also allows you to auto-update, though this functionality is currently quite basic and shall be improved in the future.
See: https://dprint.dev/config/#updating-plugins-via-cli
Considering these functionalities, I think it's fair to consider dprint a formatter with a built-in package manager.
...right?