zeeguu / web

Frontend for the zeeguu web application.
https://www.zeeguu.org
3 stars 5 forks source link

prettier configuration #296

Open mircealungu opened 4 months ago

mircealungu commented 4 months ago

WebStorm prefers to have prettier installed in the node_modules and have a configuration file (See image below). Let's upload them and make sure to point also VSCode to the same version and config if possible.

image
mircealungu commented 4 months ago

@tfnribeiro - let's look at how to ensure that the VSCode configuration is using the same version of prettier that's installed in devDependencies.

tfnribeiro commented 4 months ago

Sounds like a good idea!

tfnribeiro commented 4 months ago

I checked my VSCode and I think it picks up the configuration automatically as well. How can we test this?

tfnribeiro commented 4 months ago

@mircealungu I am thinking - I could apply the prettier configuration we have now across the repo and going forward we don't need to worry about formatting changes? We could also see if WebStorm and VScode are aligned. What do you think ?

mircealungu commented 4 months ago

yes let's. but maybe wait till we have merged all the open PR so they don't interfere?

tfnribeiro commented 4 months ago

Yes, for sure! Let's close the PRs that are open and then I will create one a PR with the formatting changes