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?