numtide / treefmt-nix

treefmt nix configuration
https://numtide.github.io/treefmt/
MIT License
228 stars 68 forks source link

Add dprint formatter #51

Closed adrian-gierakowski closed 1 year ago

adrian-gierakowski commented 1 year ago

I use dprint for TS/JS/JSON/Markdown. It’s really fast and configurable.

Btw. dprint also supports running other formatters via exec, or pure wasm plugins, so there seems to be a bit of overlap between treefmt and dprint. Maybe there is a possibility for collaboration as it’s also written in rust.

zimbatm commented 1 year ago

Sounds good, as long as it adheres to the treefmt formatter spec, I don't mind having it added.