Prettier logo

Prettier

Formats code based on consistent styles.

Made by James Long

  • Developer Tools

  • Tech

  • Open Source

  • Software Engineering

  • GitHub

  • Writing

What is Prettier?

Prettier is an automatic code formatter that enforces a consistent style across different files and projects. It supports a wide range of programming languages and markup formats, including JavaScript, TypeScript, Flow, JSX, JSON, CSS, SCSS, Less, HTML, Vue, Angular, GraphQL, Markdown, YAML, and PHP. Prettier's goal is to eliminate the need for manual code formatting by taking care of code style decisions, allowing developers to focus on writing and maintaining code rather than worrying about its visual appearance

Highlights

  • Supports a diverse range of programming languages and file types
  • Automatically formats code according to predefined rules
  • Eliminates the need for manual code formatting

Platforms

  • Web

Social

Features

    • Integrates with most editors

    • Saves you time and energy

    • No need to discuss style in code review

    • Has few options

    • Supports many languages

    • An opinionated code formatter

    • You press save and code is formatted