Closed hiba-machfej closed 3 years ago
Your Render PR Server URL is https://near-in-minutes-com-pr-72.onrender.com.
Follow its progress at https://dashboard.render.com/static/srv-c3vtnfpg7hp1ulqcovpg.
We can add a .prettierrc.js
configuration and add the rules we want. https://prettier.io/docs/en/configuration.html
@mehtaphysical some files are using single quotes, others are using double-quotes. Also, the print width is not consistent. I tried to add some prettier config. This is a huge PR :/
In this PR I have added a fix script to the package
"fix": "prettier --write 'src/**/*.js*' 'src/**/*.vue*'"
. Then ranyarn fix
this made the PR a bit big because it changed almost all the files. I will create another file.yml
in another PR that will check each PR and make sure that all PRs are the same. and if any PR fails the checks then it will be blocked from being merged. It will be something like the image below.We can also add specific rules like using single quotes.