dprint

Pluggable and configurable code formatting platform written in Rust.

README

dprint


Monorepo for dprint—a pluggable and configurable code formatting platform.

This project is under active early development. I recommend you check its output to ensure it's doing its job correctly and only run this on code that has been checked into source control.

Links



Plugins


- dprint-plugin-typescript - TypeScript/JavaScript code formatter.
- dprint-plugin-json - JSON/JSONC code formatter.
- dprint-plugin-markdown - Markdown code formatter.
- dprint-plugin-toml - TOML code formatter.
- dprint-plugin-dockerfile - Dockerfile code formatter.
- dprint-plugin-roslyn - Roslyn (C#/VB) wrapper plugin.
- dprint-plugin-prettier - Prettier wrapper plugin.
- dprint-plugin-exec - Formats code with any CLI executable.

Notes


This repo is under active early development.

1. The interface between the CLI and plugins might change often. You may need to keep updating to the latest version of both the CLI and plugins (the CLI will let you know what to do).
   - An upgrade path will be outlined in the release notes when this occurs.
2. I do a lot of this development in my spare time. Please consider sponsoring if you are a commercial company using this.