# Prettier Prettier is the opinionated code formatter that ended JavaScript's style wars (2017) by removing the debate: it re-prints code from the AST with almost no options, so every codebase looks the same and code review stops being about commas. That social innovation — *opinionated by design, options are a bug* — mattered more than the formatting itself, and spread to every language ecosystem. Beyond JS/TS it formats CSS, HTML, JSON, Markdown, YAML, GraphQL, and more via plugins, which keeps it useful even where faster tools exist. The performance story mirrors [[ESLint]]'s: a JS formatter re-parsing everything is slow at scale, and Rust replacements — [[Oxc]]'s Oxfmt (Prettier-compatible, ~30x faster) and Biome — are absorbing the same convention. Prettier defined *what* formatted code looks like; the Rust wave is just changing *who executes* the convention. The opinions survive their implementation. ## References - [Prettier Website](https://prettier.io) ## Related - [[ESLint]] — the linting-side sibling - [[Oxc]] — Oxfmt, the drop-in Rust successor - [[Vite]] — same toolchain consolidation