setup for js file prettier vscode code example
Example 1: prettier on save vscode
{
"folders": [],
"settings": {},
"editor.formatOnSave": true,
}
Example 2: prettier config vscode
npm install --save-dev --save-exact prettier
{
"folders": [],
"settings": {},
"editor.formatOnSave": true,
}
npm install --save-dev --save-exact prettier