why is prettier broken on vs code?

I have the vs code plugin installed, I have prettier included as a dev dependency in my project, and my settings.json has these lines.
{
"[typescript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[typescriptreact]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
}
{
"[typescript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[typescriptreact]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
}
then I get this message Extension 'Prettier - Code formatter' is configured as formatter but it cannot format 'TypeScript React'-files
2 Replies
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
alan
alanOP3y ago
Thank you for replying. I am seeing prettier as being enabled. How would I check if it's disabled specifically for typescript
Want results from more Discord servers?
Add your server