I got it working by adding one line of code. Without this change the plugin makes no changes to my LWCs
export const parsers = {
html: wrapParser(prettierParsers.html),
lwc: wrapParser(prettierParsers.lwc), // Add this to make it work
vue: wrapParser(prettierParsers.vue),
angular: wrapParser(prettierParsers.angular),
};
In addition to "vue", "angular" and "html" there is also "lwc" parser, refer to https://prettier.io/docs/en/options.html
I got it working by adding one line of code. Without this change the plugin makes no changes to my LWCs