prettier don't format on save code example
Example 1: prettier on save vscode
{
"folders": [],
"settings": {},
"editor.formatOnSave": true,
}
Example 2: prettier not working vscode
-> open visual studio code
-> go to view
-> open command palette
-> search for "format document with"
-> set prettier to default
Example 3: prettier on save vscode
// Set the default"editor.formatOnSave": false,// Enable per-language"[javascript]": { "editor.formatOnSave": true}