prettier code formatter on save code example
Example 1: vscode format code
On Windows Shift + Alt + F.
On Mac Shift + Option + F.
Example 2: enable prettier vscode
ext install esbenp.prettier-vscode
On Windows Shift + Alt + F.
On Mac Shift + Option + F.
ext install esbenp.prettier-vscode