Time for another weekly release of purty. You can grab the npm package or go directly for the binaries.
Notes from the changelog
0.4.0
Configuration and customization
This release had only a few additions, but they were big!
The first allows selecting between dynamic and static printing. Dynamic printing is what most people think of when they think of a pretty printer, it’s how prettier and similar tools work. Static printing is more consistent with the output and similar to how gofmt and similar tools work.
The second allows configuring purty with a file instead of command line arguments. That should allow for more reproducability and ease of use in the future. We’re using Dhall as the configuration language because it should make working with the file easier in the long run.
The sha256:c667e904ad11deb56534b3156ead983a59def3533d5766fcdad37fd6a4390f86 part forces dhall to verify the integrity of the import. That’s maybe a saner move than the previous suggestion.