🌱 Why Prettier does not format code in VSCODE
There is a chance that your default formatter is not set:
File > Preferences > Settings > Search for "default formatter"
Make sure your Editor: Default Formatter
field is not null
but rather esbenp.prettier-vscode
and that all the languages below are ticked. This fixed my issue.