Prettier
Prettier is an opinionated code formatter. observed · 2026-08-28
Health v2 · maintenance only
97/100
- Activity 99
- Release rhythm 94
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: 5.0
- age_days: 3564
- days_rel: 43
- days_push: 7
- n_releases_24m: 27
Adoption not part of the score
52211 stars · 4986 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
Prettier is an opinionated code formatter that parses code and re-prints it with consistent style rules, supporting JavaScript, TypeScript, CSS, HTML, Vue, Angular, GraphQL, Markdown, YAML, and more via plugins. It can run in editors on-save, in pre-commit hooks, or in CI to enforce a uniform codebase style.
Use cases
- format javascript and typescript code consistently
- enforce code style across a team without manual review comments
- format css, html, vue and angular templates
- run formatting in ci to check style compliance
- format markdown, yaml and json files
- add a pre-commit hook to auto-format staged files
- integrate formatting into vscode on save
When to choose
- you want zero-config, opinionated formatting across many languages
- your team argues about code style and wants to end the debate
- you need consistent formatting in editors, git hooks, and CI
- you work with mixed web codebases (js, ts, css, html, markdown)
When to avoid
- you need highly customizable style rules rather than opinionated defaults
- you want a linter that catches bugs, not just formatting
- you only need formatting for a language without a prettier plugin
Facets
cli-tool · maturity stable
formatter parser cli developer-tools plugin-system developer-tools web-development frontend programming-languages cli cross-platform editor-plugin code-style opinionated-formatting eslint-integration editor-integration pre-commit-hooks nodejs
1 source
- readme: https://github.com/prettier/prettier · fetched 2026-08-28 · 981a64c5b7a7
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| prettier/prettier | main | 97 |
| prettier/eslint-config-prettier | plugin | 78 |
| prettier/prettier-vscode | plugin | 84 |
| prettier/prettier-eslint | plugin | 98 |
| prettier/eslint-plugin-prettier | plugin | 94 |
| prettier/pretty-quick | plugin | 78 |
| prettier/plugin-php | plugin | 84 |
| prettier/vim-prettier | plugin | 75 |
| prettier/plugin-ruby | plugin | 37 |
| prettier/tslint-config-prettier | plugin | 23 |
For agents
markdown · JSON · MCP: product_card(name="prettier/prettier")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem