A pluggable and configurable code formatting platform written in Rust. 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. Monorepo for dprint—a pluggable and configurable code formatting platform. The plugins property specifies which plugins to use for formatting. These may be URLs or file paths to a WebAssembly file of the plugin. By default, plugins will pull in files based on their extension. Sometimes a file may have a different extension or no extension at all, but you still want to format it with a certain plugin. The plugin "associations" config allows you to do that by associating a certain file pattern to one or multiple plugins.

Features

  • Formatting is very fast
  • Plugins are WebAssembly files that may be imported from a URL or file path
  • Official plugins are highly configurable enabling you to auto format code closer to your preferences
  • Configuration may be imported from URLs for reuse and sharing
  • TypeScript / JavaScript plugin
  • Dockerfile plugin
  • Exec (rustfmt, yapf, java, etc.) plugin

Project Samples

Project Activity

See All Activity >

Categories

Code Formatters

License

MIT License

Follow dprint

dprint Web Site

You Might Also Like
Our Free Plans just got better! | Auth0 by Okta Icon
Our Free Plans just got better! | Auth0 by Okta

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your secuirty. Auth0 now, thank yourself later.
Try free now
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of dprint!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

Rust

Related Categories

Rust Code Formatters

Registered

2023-04-25