1
Fork 0

More configuration, woo.

This commit is contained in:
Bauke 2022-12-04 18:06:12 +01:00
parent 9910310361
commit b6fb07b3a4
Signed by: Bauke
GPG Key ID: C1C0F29952BCF558
1 changed files with 22 additions and 0 deletions

View File

@ -103,7 +103,19 @@
"svg.preview.mode": "svg",
// Linter XO (ID: samverschueren.linter-xo).
"xo.format.enable": true,
"xo.validate": [
"astro",
"javascript",
"javascriptreact",
"mdx",
"typescript",
"typescriptreact"
],
/* Language-specific overrides. */
"[astro]": {
"editor.defaultFormatter": "samverschueren.linter-xo",
"editor.formatOnSave": true
},
"[html]": {
"editor.wordWrap": "on",
"editor.defaultFormatter": "vscode.html-language-features"
@ -121,6 +133,12 @@
"editor.wordWrap": "wordWrapColumn",
"editor.wordWrapColumn": 65
},
"[mdx]": {
"editor.defaultFormatter": "samverschueren.linter-xo",
"editor.formatOnSave": true,
"editor.wordWrap": "wordWrapColumn",
"editor.wordWrapColumn": 80
},
"[python]": {
"editor.formatOnSave": true,
"editor.tabSize": 4
@ -140,6 +158,10 @@
"editor.defaultFormatter": "samverschueren.linter-xo",
"editor.formatOnSave": true
},
"[typescriptreact]": {
"editor.defaultFormatter": "samverschueren.linter-xo",
"editor.formatOnSave": true
},
"[xml]": {
"editor.wordWrap": "on"
}