From 9467d4e6bfa15f86483a2b28c350b54c49eb607e Mon Sep 17 00:00:00 2001 From: Remco Haszing Date: Tue, 27 Feb 2024 10:35:51 +0100 Subject: [PATCH] Support probing Astro This adds support for probing Astro based on eslint-plugin-astro. Probing Astro is is enabled by default for the astro language id. --- package.json | 1 + server/src/eslint.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/package.json b/package.json index 3b7f8f2e..bf15a9d8 100644 --- a/package.json +++ b/package.json @@ -305,6 +305,7 @@ "type": "string" }, "default": [ + "astro", "javascript", "javascriptreact", "typescript", diff --git a/server/src/eslint.ts b/server/src/eslint.ts index 572a28a2..9d8bc2e5 100644 --- a/server/src/eslint.ts +++ b/server/src/eslint.ts @@ -751,6 +751,7 @@ export namespace ESLint { }(); const languageId2PluginName: Map = new Map([ + ['astro', 'astro'], ['html', 'html'], ['json', 'jsonc'], ['json5', 'jsonc'],