A Prettier Printer
summary
Prettier is a formatter that parses code to an AST then pretty-prints AST, ignores original whitespace, and enforces a single layout rule set. It supports JavaScript, JSX and Flow types, and incoming TypeScript work, rewraps expressions by editor width and wraps attributes by width to respect max line length. Adoption includes Create React App, React Native Web, Immutable JS, Babel and React PRs, and it claims real savings from 30,597 nits -> $500k wasted time.
AI-written summary · about








