Prettier stands out for its rock-solid quality, which is rare in the JavaScript library realm. Despite potential disagreements with default settings, such as tabWidth, or its speed, Prettier’s core formatters for HTML, CSS, JS, and TS remain reliable. The surprise behind Prettier’s excellence lies in the author’s inspiration from a paper by Philip Wadler on “A prettier printer.” The original author’s use of Haskell principles helped create a foundational tool that maintains high standards in the ever-changing landscape of JavaScript libraries.
https://mrmr.io/til/prettier/