prettier default config code example
Example 1: prettier don't format line
// prettier-ignore JS
{/* prettier-ignore */} JSX
<!-- prettier-ignore --> HTML / Markdown
/* prettier-ignore */ CSS
Example 2: how to edit /.prettierrc.json file pretter
{
"trailingComma": "none",
"tabWidth": 4,
"semi": true,
"singleQuote": true
}