Solid prettier alternative

Published on November 06, 2023

← Back to tips

dprint: A pluggable and configurable code formatting platform that serves as an alternative to prettier.

dprint is a new code formatting platform written in Rust. It is pluggable and configurable, meaning that you can choose the code formatters that you want to use and customize the formatting options to suit your preferences.

dprint is built on top of the Rust compiler’s formatting engine, which is the same engine that is used to format the Rust standard library.

This means that dprint can format Rust code in a consistent and idiomatic way.

dprint also supports other programming languages, such as Python, JavaScript, and C#. The support for these languages is still under development, but it is already quite good.

dprint is incredibly user-friendly. Just install the dprint CLI and run it on your code. It will automatically format your code using the default formatters. Additionally, you have the flexibility to customize the formatters and formatting options by editing the .dprintrc file.

If you’re in search of a code formatting platform that is pluggable, configurable, and user-friendly, give dprint a try.

Check it out here:

🎉 Interested in Frontend or Indie-hacking?

I talk about the latest in frontend, along with my experience in building various (Indie) side-projects