Skip to content

Commit

Permalink
Add Prettier to recommendations; set as default formatter
Browse files Browse the repository at this point in the history
  • Loading branch information
colin-grant-work committed Nov 3, 2023
1 parent 89cdd9c commit 5e3e3e2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
6 changes: 4 additions & 2 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
{
// See http://go.microsoft.com/fwlink/?LinkId=827846 to learn about workspace recommendations.
// Extension identifier format: ${publisher}.${name}. Example: vscode.csharp

// List of extensions which should be recommended for users of this workspace.
"recommendations": ["EditorConfig.EditorConfig"],
"recommendations": [
"editorconfig.editorconfig",
"esbenp.prettier-vscode"
],
// List of extensions recommended by VS Code that should not be recommended for users of this workspace.
"unwantedRecommendations": []
}
3 changes: 2 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"typescript.format.insertSpaceAfterFunctionKeywordForAnonymousFunctions": false,
"eslint.packageManager": "yarn"
"eslint.packageManager": "yarn",
"editor.defaultFormatter": "esbenp.prettier-vscode"
}

0 comments on commit 5e3e3e2

Please sign in to comment.