What is the purpose of prettier?

Prettier is an opinionated code formatter which ensures one unified code format . It can be used in VS Code by installing it from the VS Code Marketplace. Once you have integrated it in VS Code, you can configure Prettier to format your files when saving them or committing them to a version control system (e.g. Git).

Read more

What is a code formatter?

Different programmers often prefer different styles of formatting, such as the use of code indentation and whitespace or positioning of braces. A code formatter converts source code from one format style to another . This is relatively straightforward because of the unambiguous syntax of programming languages.

Read more