barbie and taylorβs (not so) famous code formatter π
https://github.com/ordo-one/dollup β// momentum
// why it's here
- Active: last commit today
- Health 94/100 with only 7 stars
- Accepts sponsorship (github)
// how to help
// readme
π Β dollup Β π
a formally sound, risk-aware swift code formatter
Introduction
Dollup is a Swift formatter that emphasizes soundness of transformations and transparent risk management. It was created out of a recognition that many existing Swift formatters may subtly alter the semantics of reformatted Swift code, and often mix safe and unsafe transformations within the same formatting commands, which undermines developer confidence when formatting large tracts of code at scale.
Dollup takes a different approach. It makes an effort to segregate formatting passes by risk of semantic corruption, distinguishing between operations that can safely run continuously and automatically, moderate complexity rewrites that can be automated but need to be performed carefully in isolation and applied through pull requests, and higher level refactors that require manual review. This enables developers to make informed decisions about the level of human oversight needed when enforcing formatting styles at the organizational level.