I recently updated VSCode and Prettier is not working anymore on my JS files. Before whenever I saved my JS files, Prettier would add the semicolons for me. Now when I save, no semicolons are added. I have the plugin enabled and checked the settings to make sure I have the semicolon insertions enabled. What could be causing this error?
This one worked for me:
View
-> Command Palette
(or type CMD
+ shift
+ P
)Format Document
Original answer: Why Prettier does not format code in VSCODE?