prettiersrc cool rules add code example
Example 1: how to edit /.prettierrc.json file pretter
{
"trailingComma": "none",
"tabWidth": 4,
"semi": true,
"singleQuote": true
}
Example 2: prettierrc
{
"trailingComma": "es5",
"tabWidth": 4,
"semi": false,
"singleQuote": true
}