Just create a Formula Field of type = Formula(Date) in Case object.
Then in the formula write:
In the case you prefer your own Date format to standard Salesforce.
You need to change Formula Field to Type = Formula (Text) instead and then follow the answer below.
I believe I have found a solution. Inside of the vscode settings file the following line needs to be added:
Per prettier vscode documentation found here: https://github.com/prettier/prettier-vscode#prettierdocumentselectors
'A list of glob patterns to register Prettier formatter. Typically ...