how to configure prettier in vscode code example
Example 1: prettier config vscode
npm install --save-dev --save-exact prettier
Example 2: vscode format code
On Windows Shift + Alt + F.
On Mac Shift + Option + F.
Example 3: enable prettier vscode
ext install esbenp.prettier-vscode
Example 4: prettier install in vscode
Install node.js first
Example 5: prettier set up with vs code
{ "trailingComma":"none", "tabWidth": 4, "semi": true, "singleQuote": false}