Skip to content

NodeJs

Node.js, Express, MongoDB & More: The Complete Bootcamp 2020 Leave a rating Your progress

Prettier Extension of VS Code - formats the code.

In order to set the configuration for Prettier we build .prettierrc file

For example:

{
  "singleQuote": true
}

With this, prettier formats our code only with single Quotes, if needed