IT lexicon › Web › Prettier

Prettier

Web På svenska → Updated: 2026-07-30

Opinionated code formatter. JavaScript, TypeScript, CSS, JSON, Markdown, YAML, GraphQL etc. James Long, 2017. "End all style debates" — minimal config options by design. Industry standard 2018+.

Philosophy: formatting is not a value-add for dev, automate it away. prettier --write in pre-commit hook. Editor integrations (VS Code, IntelliJ, Vim) format-on-save. Pre-Prettier: ESLint had auto-fix for style, but style-config tweaking was time sink. Competitor: Biome (faster, same philosophy), dprint (Rust, more config), oxc/oxfmt (Rust, blazing fast). Prettier 3.0 (2023) introduced plugin system + async format. Performance criticism: JS-based, slow on big repos — Biome is 25x faster for same output.

← Back to the lexicon