I want to use prettier for formatting my ejs files by adding custom rules.
Right now I am using files associations of html for ejs files.
I have added the following code in the settings.json file: "files.associations": { "*.ejs": "html" },
Unfortunately Prettier does not currently support EJS. The list of supported languages are listed in their docs https://prettier.io/docs/en/index.html
However, they do support plugins so someone could add support https://prettier.io/docs/en/plugins.html