mirror of
https://github.com/zoriya/v10.git
synced 2026-08-04 21:27:10 +00:00
34 lines
1.0 KiB
JSON
34 lines
1.0 KiB
JSON
{
|
|
// We use Biome for linting and formatting.
|
|
"eslint.enable": false,
|
|
// Prettier is enabled only for Astro template formatting (biome handles frontmatter).
|
|
"prettier.enable": true,
|
|
"editor.formatOnSave": true,
|
|
|
|
// Auto fix
|
|
"editor.codeActionsOnSave": {
|
|
// Auto fix all Biome issues on save.
|
|
"source.fixAll.biome": "always",
|
|
"source.organizeImports.biome": "always",
|
|
"source.action.useSortedProperties.biome": "always",
|
|
// Disable built-in organize imports to avoid conflicts with Biome.
|
|
"source.organizeImports": "never"
|
|
},
|
|
|
|
"biome.requireConfiguration": true,
|
|
"editor.defaultFormatter": "biomejs.biome",
|
|
"js/ts.tsdk.path": "node_modules/typescript/lib",
|
|
// Built-in CSS validation overlaps Biome; disable it for CSS diagnostics only.
|
|
"css.validate": false,
|
|
|
|
"[astro]": {
|
|
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
|
},
|
|
"[typescriptreact]": {
|
|
"editor.defaultFormatter": "biomejs.biome"
|
|
},
|
|
"[css]": {
|
|
"editor.defaultFormatter": "biomejs.biome"
|
|
}
|
|
}
|