Overview
Prettier is an opinionated code formatter that enforces a consistent style across your entire codebase. It parses your code and re-prints it with its own rules that take the maximum line length into account, wrapping code when necessary. Prettier supports a wide range of languages including JavaScript, JSX, TypeScript, CSS, Less, SCSS, HTML, Vue, Angular, Ember, GraphQL, Markdown, and YAML. It integrates with most popular code editors, such as VS Code, WebStorm, Sublime Text, and Vim. The tool is designed to eliminate debates over code style in code reviews, save developers time and energy, and improve code readability. Prettier is regularly used by a large number of developers and is integrated into many popular projects and tools.