diff --git a/.prettierignore b/.prettierignore index 7871bd5d3ad..3934e772006 100644 --- a/.prettierignore +++ b/.prettierignore @@ -2,4 +2,6 @@ **/.nyc_output /packages/*/spec-tests node_modules -**/node_modules \ No newline at end of file +**/node_modules +*.js +*.ts diff --git a/.vscode/extensions.json b/.vscode/extensions.json index de51190cd9f..d2b074c6eea 100644 --- a/.vscode/extensions.json +++ b/.vscode/extensions.json @@ -1,5 +1,6 @@ { "recommendations": [ - "biomejs.biome" + "biomejs.biome", + "esbenp.prettier-vscode" ] } diff --git a/lodestar.code-workspace b/lodestar.code-workspace new file mode 100644 index 00000000000..7030ab8d727 --- /dev/null +++ b/lodestar.code-workspace @@ -0,0 +1,12 @@ +{ + "settings": { + "window.title": "${activeEditorShort}${separator}${rootName}${separator}${profileName}${separator}[${activeRepositoryBranchName}]", + "editor.defaultFormatter": "esbenp.prettier-vscode", + "[javascript]": { + "editor.defaultFormatter": "biomejs.biome" + }, + "[typescript]": { + "editor.defaultFormatter": "biomejs.biome" + }, + } +}