4 ms·
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 formatt
by hkwerf 4y ago
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
- mark_and_sweep 4y agoWhen you specify a plugin via URL, dprint will download and cache it for you. See: https://dprint.dev/setup/#custom-cache-directory 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 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.