sun-empire-solutions/meets-app

Set up a code formatting guideline in prettier

amendezm opened this issue · 6 comments

Hey!! Could I try doing this. I'm currently referring to Prettier-Options and it seems like something I can do

{
  "trailingComma": "es5",
  "tabWidth": 2,
  "semi": false,
  "singleQuote": false
}

This is an example of prettier config used in another project

Hey @amendezm, Should I just add just this much or should I add any more guidelines to follow in the .prettierrc.json file

Only that for now. Thank you!

I guess you may need to set "semi": true cause else on formatting all the documents are loosing the semicolons

You’re right