I found this answer how to format code using prettier
Here is what I've done
npm i prettier -g
prettier --write \"./**/*.{js,html}\"
Got an error [error] No files matching the pattern were found: ""./**/*.{js,html}"". any ideas how to fix? do you think it is because I installed the prettier globally (in the answer it is installed locally)?
So how would you use pettier when it is installed globally then?
Probably the quotes are wrong. It should probably be:
without the backslashes.