{
// Format on save for this workspace
"editor.formatOnSave": true,
// Run code actions (lint fixes + organize imports) on save
"editor.codeActionsOnSave": {
// Biome will respond to this with autofixable rules
"source.action.useSortedKeys.biome": "explicit",
"source.fixAll.biome": "explicit"
},
// Use Biome as the formatter just for these languages
"[javascript]": { "editor.defaultFormatter": "biomejs.biome" },
"[typescript]": { "editor.defaultFormatter": "biomejs.biome" },
"[javascriptreact]": { "editor.defaultFormatter": "biomejs.biome" },
"[typescriptreact]": { "editor.defaultFormatter": "biomejs.biome" },
"[json]": { "editor.defaultFormatter": "biomejs.biome" },
"[jsonc]": { "editor.defaultFormatter": "biomejs.biome" },
// (Optional) avoid formatter conflicts in this workspace
"prettier.enable": false,
"eslint.format.enable": false
}