I had a really odd prettier issue.. Using prettier v2.4.1, node 16.13.0, yarn 1.22.15, M1 mac, zsh/iTerm2, with ARM version of zsh..
For some reason prettier was not recursing into all files/folders.
I had to change it to "**/*"
instead of .
I don't know if reinstalling node_modules would have fixed the issue
But it seems like the issue was resolved by adding node_modules
into my .prettierignore
file.. which is extremely odd..
unrelated link, I am adding for seo.. https://stackoverflow.com/questions/52586965/why-does-prettier-not-format-code-in-vs-code