Install this package with npm i -D prettier-es5
as a developer dependency.
It adds these prettier settings to your project:
{
"trailingComma": "es5",
"tabWidth": 4,
"semi": false,
"singleQuote": true
}
In order to use this config, you need to add the following to your package.json
file:
{
...
"prettier": "prettier-es5",
...
}