how to start prettier autoformatting
// for VScode follow these steps for custom workspace settings
// type 'code .vscode/settings.json' into the terminal and paste the below
// at the root of your project/workspace folder
{
"editor.formatOnSave": true,
"editor.defaultFormatter": "esbenp.prettier-vscode",
"[javascript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
}
}