how to change vs code formatting from prettier to js code example
Example 1: prettier on save vscode
{
"folders": [],
"settings": {},
"editor.formatOnSave": true,
}
Example 2: enable prettier vscode
ext install esbenp.prettier-vscode
{
"folders": [],
"settings": {},
"editor.formatOnSave": true,
}
ext install esbenp.prettier-vscode