Prettier
Prettier is an opinionated (opinionated) code formater that parses your code and rewrites it by its own rules, taking into account the maximum line length. It supports many languages such as JavaScript, TypeScript, CSS, HTML, JSON, Markdown and YAML. It can be run in your editor during save, pre-commit hook, or CI environments to provide a consistent style in your codebase.
Prettier
100prettier · DevOps / Build / Infra
Common commercial products in this category: GitHub Actions, CircleCI, Atlassian Bamboo
- Automatically format your code as soon as you save it in your editor or in the CI environment
- Taking into account the maximum line length, you wrap long lines of code as needed
- In code reviews, you provide a consistent style of code without the need for style discussions.
- • High number of open issues (1,473)
- • NeutralHacker News
A Prettier JavaScript Formatter
“gofmt — the official formatter of the Go language — made a very wise choice for its formatting strategy. I think it's something other tools can learn from. gofmt will fix indentation, spacing, and so on, but it will generally preserve structure. For example, this:…”
- ↑ PositiveHacker News
Prettier 1.0
“Speaking for myself, I've been waiting for 1.0 before using it, but I've been very excited for this project since its announcement. I've personally experienced how much time can be wasted bikeshedding over stylistic issues. In most cases, just picking a consistent standard is…”
Verified against README · Oct 26, 2026 · source