In the node_modules
folder there is a prettier
install (package.json says "version": "1.19.1",
) that is overriding the .prettierrc in my project root.
When I delete that dir, formatting returns to normal.
But this is only temporary as npm i
puts it back. Something has it as a dependency, even tho searching for "prettier"
or 1.19.1
only returns the package-lock.json
.
I have other projects that work correctly without a node_modules installation of prettier, but this github template had it.
How can I clear this up? Ideally, I want to only use the project level .prettierrc
.