mirror of https://github.com/buster-so/buster.git
38 lines
1.1 KiB
JSON
38 lines
1.1 KiB
JSON
|
{
|
||
|
"editor.defaultFormatter": "biomejs.biome",
|
||
|
"editor.formatOnSave": true,
|
||
|
"editor.codeActionsOnSave": {
|
||
|
"quickfix.biome": "explicit",
|
||
|
"source.organizeImports.biome": "explicit"
|
||
|
},
|
||
|
"typescript.preferences.importModuleSpecifier": "relative",
|
||
|
"typescript.suggest.autoImports": true,
|
||
|
"typescript.updateImportsOnFileMove.enabled": "always",
|
||
|
|
||
|
// Default Biome formatting for all file types
|
||
|
"[typescript]": {
|
||
|
"editor.defaultFormatter": "biomejs.biome"
|
||
|
},
|
||
|
"[typescriptreact]": {
|
||
|
"editor.defaultFormatter": "biomejs.biome"
|
||
|
},
|
||
|
"[javascript]": {
|
||
|
"editor.defaultFormatter": "biomejs.biome"
|
||
|
},
|
||
|
"[javascriptreact]": {
|
||
|
"editor.defaultFormatter": "biomejs.biome"
|
||
|
},
|
||
|
"[json]": {
|
||
|
"editor.defaultFormatter": "biomejs.biome"
|
||
|
},
|
||
|
|
||
|
// Resource-specific settings for apps/web directory
|
||
|
"[{apps/web/**/*.ts,apps/web/**/*.tsx,apps/web/**/*.js,apps/web/**/*.jsx,apps/web/**/*.json}]": {
|
||
|
"editor.defaultFormatter": "esbenp.prettier-vscode",
|
||
|
"editor.formatOnSave": true,
|
||
|
"editor.codeActionsOnSave": {
|
||
|
"source.fixAll.eslint": "explicit"
|
||
|
}
|
||
|
}
|
||
|
}
|