Skip to content

Commit d1b62df

Browse files
remcohaszingdbaeumer
andauthoredFeb 27, 2024··
Support probing Astro (#1795)
This adds support for probing Astro based on eslint-plugin-astro. Probing Astro is is enabled by default for the astro language id. Co-authored-by: Dirk Bäumer <dirkb@microsoft.com>
1 parent 8dc7490 commit d1b62df

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed
 

‎package.json

+1
Original file line numberDiff line numberDiff line change
@@ -305,6 +305,7 @@
305305
"type": "string"
306306
},
307307
"default": [
308+
"astro",
308309
"javascript",
309310
"javascriptreact",
310311
"typescript",

‎server/src/eslint.ts

+1
Original file line numberDiff line numberDiff line change
@@ -751,6 +751,7 @@ export namespace ESLint {
751751
}();
752752

753753
const languageId2PluginName: Map<string, string> = new Map([
754+
['astro', 'astro'],
754755
['html', 'html'],
755756
['json', 'jsonc'],
756757
['json5', 'jsonc'],

0 commit comments

Comments
 (0)
Please sign in to comment.