- yarn add prettier
- Creates a file called .prettierrc with config below.
{
"trailingComma: "es5",
"tabWidth": 2,
"semi": true,
"singleQuote": true
{ | |
"workbench.iconTheme": "material-icon-theme", | |
"git.ignoreWindowsGit27Warning": true, | |
"editor.wordWrap": "off", | |
"editor.fontSize": 12, | |
"editor.lineHeight": 20, | |
"terminal.integrated.fontSize": 14, | |
// "editor.formatOnSave": true, | |
"editor.tabSize": 2, | |
"editor.fontFamily": "JetBrains Mono, Fira Code", |
{ | |
// Use IntelliSense to learn about possible attributes. | |
// Hover to view descriptions of existing attributes. | |
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 | |
"version": "0.2.0", | |
"configurations": [ | |
{ | |
"type": "node", | |
"request": "attach", |