From 21a9d6222acb854d04f4c21c7996587aa9bebe68 Mon Sep 17 00:00:00 2001 From: TheSisb Date: Wed, 20 Sep 2023 11:10:22 -0500 Subject: [PATCH] chore: vscode settings for biomejs --- .vscode/extensions.json | 1 + .vscode/settings.json | 18 ++++++++++++++++++ 2 files changed, 19 insertions(+) diff --git a/.vscode/extensions.json b/.vscode/extensions.json index 4b73c55736..324310b6cb 100644 --- a/.vscode/extensions.json +++ b/.vscode/extensions.json @@ -2,6 +2,7 @@ "recommendations": [ "dbaeumer.vscode-eslint", "esbenp.prettier-vscode", + "biomejs.biome", "unifiedjs.vscode-mdx", "styled-components.vscode-styled-components", "eamodio.gitlens", diff --git a/.vscode/settings.json b/.vscode/settings.json index 5c92698921..0b70e07a67 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,6 +1,24 @@ { "editor.formatOnSave": true, + "editor.codeActionsOnSave": { + "source.organizeImports.biome": true + }, "editor.defaultFormatter": "esbenp.prettier-vscode", + "[javascript]": { + "editor.defaultFormatter": "biomejs.biome" + }, + "[typescript]": { + "editor.defaultFormatter": "biomejs.biome" + }, + "[json]": { + "editor.defaultFormatter": "biomejs.biome" + }, + "[css]": { + "editor.defaultFormatter": "biomejs.biome" + }, + "[jsonc]": { + "editor.defaultFormatter": "biomejs.biome" + }, "search.exclude": { "**/dist": true, "**/docs": true