How can I tell prettier to parse files recursively?
Just run prettier --write .
And use a .prettierignore
file to tell it what to ignore, but it ignores node_modules
by default.
This issue from a few weeks back seems like it answers your question. TL;DR:
prettier "{,!(node_modules)/**/}*.js"