Skip to content

Commit

Permalink
Add vscode settings to split prettier and biome
Browse files Browse the repository at this point in the history
  • Loading branch information
nazarhussain committed Oct 11, 2024
1 parent a570048 commit b630931
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,6 @@
**/.nyc_output
/packages/*/spec-tests
node_modules
**/node_modules
**/node_modules
*.js
*.ts
3 changes: 2 additions & 1 deletion .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"recommendations": [
"biomejs.biome"
"biomejs.biome",
"esbenp.prettier-vscode"
]
}
12 changes: 12 additions & 0 deletions lodestar.code-workspace
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"settings": {
"window.title": "${activeEditorShort}${separator}${rootName}${separator}${profileName}${separator}[${activeRepositoryBranchName}]${separator}[${activeRepositoryBranchName}]",
"editor.defaultFormatter": "esbenp.prettier-vscode",
"[javascript]": {
"editor.defaultFormatter": "biomejs.biome"
},
"[typescript]": {
"editor.defaultFormatter": "biomejs.biome"
},
}
}

0 comments on commit b630931

Please sign in to comment.