Set up a code formatting guideline in prettier
amendezm opened this issue · 6 comments
amendezm commented
Aspireve commented
Hey!! Could I try doing this. I'm currently referring to Prettier-Options and it seems like something I can do
amendezm commented
{
"trailingComma": "es5",
"tabWidth": 2,
"semi": false,
"singleQuote": false
}
This is an example of prettier config used in another project
Aspireve commented
Hey @amendezm, Should I just add just this much or should I add any more guidelines to follow in the .prettierrc.json
file
amendezm commented
Only that for now. Thank you!
Aspireve commented
I guess you may need to set "semi": true
cause else on formatting all the documents are loosing the semicolons
amendezm commented
You’re right