From b6fb07b3a46af33f8074ccdac72ffb95fbadee27 Mon Sep 17 00:00:00 2001 From: Bauke Date: Sun, 4 Dec 2022 18:06:12 +0100 Subject: [PATCH] More configuration, woo. --- .config/VSCodium/User/settings.json | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/.config/VSCodium/User/settings.json b/.config/VSCodium/User/settings.json index b48b666..44724dc 100644 --- a/.config/VSCodium/User/settings.json +++ b/.config/VSCodium/User/settings.json @@ -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" }