Skip to content

Commit

Permalink
fix: prettier config for vscode in windows (#87)
Browse files Browse the repository at this point in the history
  • Loading branch information
dhoffens authored Apr 30, 2024
1 parent b4f722e commit ece2357
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .prettierrc.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
singleQuote: true
semi: false
printWidth: 100
trailingComma: none
trailingComma: 'none'
endOfLine: 'auto'
9 changes: 8 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,12 @@
},
"[json]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
}
},
"[typescriptreact]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"prettier.configPath": ".prettierrc.yaml",
"prettier.requireConfig": true,
"editor.defaultFormatter": "esbenp.prettier-vscode",
"files.eol": "\r\n"
}

0 comments on commit ece2357

Please sign in to comment.